mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 16:49:58 -06:00
solve deadlock
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2788 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -336,19 +336,15 @@ void DSP_Update(int cycles)
|
||||
{
|
||||
#ifdef _WIN32
|
||||
if (g_Dialog.CanDoStep())
|
||||
#endif
|
||||
gdsp_runx(100); // cycles
|
||||
#endif
|
||||
soundStream->Update();
|
||||
}
|
||||
|
||||
|
||||
|
||||
void DSP_SendAIBuffer(unsigned int address, int sample_rate)
|
||||
{
|
||||
// TODO: This is not yet fully threadsafe.
|
||||
if (!soundStream) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (soundStream->GetMixer())
|
||||
{
|
||||
short samples[16] = {0}; // interleaved stereo
|
||||
|
Reference in New Issue
Block a user