mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-08 23:25:40 +12:00
HLE DSP: Format
This commit is contained in:
parent
7a4f3f4836
commit
e22bc58060
1 changed files with 6 additions and 5 deletions
|
@ -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({});
|
||||||
|
|
Loading…
Add table
Reference in a new issue