HLE DSP: Format

This commit is contained in:
wheremyfoodat 2024-11-10 14:55:31 +02:00
parent 7a4f3f4836
commit e22bc58060

View file

@ -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()) {