From 52cb7fd4cac8b6a905235736645e025a65900ed8 Mon Sep 17 00:00:00 2001 From: Glenn Rice Date: Wed, 16 Mar 2011 12:59:05 +0000 Subject: Fix and issue with the escape button closing the hotkey dialog when trying to set a hotkey to escape. Fix a few more dialogs to close with escape. Fix an issue with the pulse audio sound backend when the dsp emulation method is changed, and the frequency setting was not respected. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7358 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/AudioCommon/Src/PulseAudioStream.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Source/Core/AudioCommon/Src/PulseAudioStream.cpp') diff --git a/Source/Core/AudioCommon/Src/PulseAudioStream.cpp b/Source/Core/AudioCommon/Src/PulseAudioStream.cpp index 19d5d5c298..6b3f9e7217 100644 --- a/Source/Core/AudioCommon/Src/PulseAudioStream.cpp +++ b/Source/Core/AudioCommon/Src/PulseAudioStream.cpp @@ -73,7 +73,8 @@ void PulseAudio::SoundLoop() bool PulseAudio::PulseInit() { // The Sample format to use - static const pa_sample_spec ss = { + const pa_sample_spec ss = + { PA_SAMPLE_S16LE, m_mixer->GetSampleRate(), 2 -- cgit v1.2.3