HLE DSP: Format
This commit is contained in:
@@ -483,7 +483,8 @@ namespace Audio {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void HLE_DSP::generateFrame(DSPSource& source) {
|
void HLE_DSP::generateFrame(DSPSource& source) {
|
||||||
// Zero out all output samples at first. TODO: Don't zero out the entire frame initially, rather only zero-out the "unwritten" samples when the frame is done being processed.
|
// Zero out all output samples at first. TODO: Don't zero out the entire frame initially, rather only zero-out the "unwritten" samples when
|
||||||
|
// the frame is done being processed.
|
||||||
source.currentFrame = {};
|
source.currentFrame = {};
|
||||||
|
|
||||||
if (source.currentSamples.empty()) {
|
if (source.currentSamples.empty()) {
|
||||||
@@ -752,7 +753,7 @@ namespace Audio {
|
|||||||
rateMultiplier = 1.f;
|
rateMultiplier = 1.f;
|
||||||
|
|
||||||
buffers = {};
|
buffers = {};
|
||||||
interpolationState = {};
|
interpolationState = {};
|
||||||
currentSamples.clear();
|
currentSamples.clear();
|
||||||
|
|
||||||
gains.fill({});
|
gains.fill({});
|
||||||
|
|||||||
Reference in New Issue
Block a user