mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
Now OpenAL works, at least.
But Dolphin's sound stream system really needs a rethink. Because this is the root cause of constant blocking. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4711 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -171,3 +171,12 @@ void CMixer::PushSamples(short *samples, int num_stereo_samples, int core_sample
|
||||
}
|
||||
push_sync.Leave();
|
||||
}
|
||||
|
||||
int CMixer::GetNumSamples()
|
||||
{
|
||||
return m_queueSize / 2;
|
||||
//int ret = (m_queueSize - queue_minlength) / 2;
|
||||
//ret = (ret > 0) ? ret : 0;
|
||||
//return ret;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user