mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 00:59:44 -06:00
some linux stop issue fix (still not working right) please check on windows
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2076 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -49,10 +49,6 @@ void AOSound::SoundLoop()
|
||||
soundCriticalSection->Leave();
|
||||
soundSyncEvent->Wait();
|
||||
}
|
||||
|
||||
ao_close(device);
|
||||
device = NULL;
|
||||
ao_shutdown();
|
||||
}
|
||||
|
||||
void *soundThread(void *args) {
|
||||
@ -83,6 +79,10 @@ void AOSound::Stop()
|
||||
delete soundCriticalSection;
|
||||
delete thread;
|
||||
delete soundSyncEvent;
|
||||
|
||||
ao_close(device);
|
||||
device = NULL;
|
||||
ao_shutdown();
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user