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:
ayuanx
2009-12-20 02:23:26 +00:00
parent 7b6a0f9b72
commit 51163196d3
4 changed files with 80 additions and 80 deletions

View File

@ -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;
}