Separate out the core interface around the resampler, in order to move it out from __sceAudio.

This commit is contained in:
Henrik Rydgård committed 2023-03-24 14:48:53 +01:00
1 parent a5fdf3d05b
commit e95662cebf
5 files changed
+45 -38

No files matched your search

+2 -2
View File
@@ -344,7 +344,7 @@ bool BackgroundAudio::Play() {
// Immediately stop the sound if it is turned off while playing.
if (!g_Config.bEnableSound) {
Clear(true);
__PushExternalAudio(0, 0);
__AudioClear();
return true;
}
@@ -393,7 +393,7 @@ bool BackgroundAudio::Play() {
}
}
__PushExternalAudio(buffer, sz);
__AudioPushSamples(buffer, sz);
if (at3Reader_ && fadingOut_ && volume_ <= 0.0f) {
Clear(true);