Fix tests hanging, after the audio rewrite

This commit is contained in:
Henrik Rydgard committed 2012-11-17 18:08:10 +01:00
1 parent 74c646cf76
commit d239f4ece1
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -140,7 +140,7 @@ void __AudioUpdate()
// Sleep here until the host audio hardware is ready to receive samples.
// This will effectively throttle the frame rate.
if (!noThrottle) {
if (!noThrottle && g_Config.bEnableSound) {
while (true)
{
if (outAudioQueue.size() < hwBlockSize * 4)