mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-13 06:20:26 +02:00
Separate out the core interface around the resampler, in order to move it out from __sceAudio.
This commit is contained in:
1 parent
a5fdf3d05b
commit
e95662cebf
5 files changed
+45
-38
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user