Move audio handling out of DSP emulation.
This is good for a couple of reasons: one, it gets rid of duplicated code, and two, DSP emulation shouldn't need to interact with audio in the first place.
This commit is contained in:
@@ -410,6 +410,8 @@ void EmuThread()
|
||||
|
||||
}
|
||||
|
||||
AudioCommon::InitSoundStream(g_pWindowHandle);
|
||||
|
||||
// The hardware is initialized.
|
||||
g_bHwInit = true;
|
||||
|
||||
@@ -507,6 +509,7 @@ void EmuThread()
|
||||
Pad::Shutdown();
|
||||
Wiimote::Shutdown();
|
||||
g_video_backend->Shutdown();
|
||||
AudioCommon::ShutdownSoundStream();
|
||||
}
|
||||
|
||||
// Set or get the running state
|
||||
|
||||
Reference in New Issue
Block a user