mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Added Enable Other Audio option to DSP HLE
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1233 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -21,6 +21,7 @@
|
||||
#include "../Config.h"
|
||||
#include "../Globals.h"
|
||||
#include "../DSPHandler.h"
|
||||
#include "../Logging/Console.h"
|
||||
#include "Thread.h"
|
||||
#include "Mixer.h"
|
||||
#include "FixedSizeQueue.h"
|
||||
@ -99,12 +100,16 @@ void Mixer_PushSamples(short *buffer, int num_stereo_samples, int sample_rate) {
|
||||
static int acc=0;
|
||||
|
||||
#ifdef _WIN32
|
||||
if (!GetAsyncKeyState(VK_TAB)) {
|
||||
if (! (GetAsyncKeyState(VK_TAB)) && g_Config.m_EnableThrottle) {
|
||||
|
||||
/* This is only needed for non-AX sound, currently directly streamed and
|
||||
DTK sound. For AX we call DSound_UpdateSound in AXTask() for example. */
|
||||
while (queue_size > queue_maxlength / 2) {
|
||||
DSound::DSound_UpdateSound();
|
||||
Sleep(0);
|
||||
}
|
||||
} else {
|
||||
wprintf("Tab");
|
||||
return;
|
||||
}
|
||||
#else
|
||||
|
Reference in New Issue
Block a user