SPU (v0.9.8):

- Backport changes in r4370 to 0.9.8 branch.
This commit is contained in:
rogerman 2012-08-19 07:16:58 +00:00
parent a7138e5332
commit 5ceadcc3a5
1 changed files with 4 additions and 1 deletions

View File

@ -1397,7 +1397,10 @@ void SPU_Emulate_core()
// We don't need to mix audio for Dual Synch/Asynch mode since we do this
// later in SPU_Emulate_user(). Disable mixing here to speed up processing.
if (synchmode == ESynchMode_DualSynchAsynch)
// However, recording still needs to mix the audio, so make sure we're also
// not recording before we disable mixing.
if ( synchmode == ESynchMode_DualSynchAsynch &&
!(driver->AVI_IsRecording() || driver->WAV_IsRecording()) )
{
needToMix = false;
}