Attempt to move mixer to audio common, it's a bit more complicated than I expected

so please check I didn't break anything in hle



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2756 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
nakeee
2009-03-26 09:29:14 +00:00
parent d7038fea17
commit fff663e8c7
35 changed files with 386 additions and 619 deletions

View File

@ -24,7 +24,7 @@
#include "../MailHandler.h"
#include "../main.h"
#include "../PCHW/Mixer.h"
#include "Mixer.h"
CUCode_Zelda::CUCode_Zelda(CMailHandler& _rMailHandler)
@ -157,8 +157,7 @@ void CUCode_Zelda::ExecuteList()
tmp[2] = Read32();
// We're ready to mix
mixer_HLEready = true;
soundStream->GetMixer()->SetHLEReady(true);
DEBUG_LOG(DSPHLE, "Update the SoundThread to be in sync");
soundStream->Update(); //do it in this thread to avoid sync problems