From 3e49599a338f84ba4d4254f58fe4df316ac86464 Mon Sep 17 00:00:00 2001 From: nakeee Date: Fri, 27 Nov 2009 11:52:29 +0000 Subject: [PATCH] AlsaSound: Applied the fix from issue 1689 makes DSP better thanks darumo git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4615 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/AudioCommon/Src/AlsaSoundStream.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/Core/AudioCommon/Src/AlsaSoundStream.cpp b/Source/Core/AudioCommon/Src/AlsaSoundStream.cpp index a2ec98608b..8158fc6a86 100644 --- a/Source/Core/AudioCommon/Src/AlsaSoundStream.cpp +++ b/Source/Core/AudioCommon/Src/AlsaSoundStream.cpp @@ -64,7 +64,8 @@ void AlsaSound::SoundLoop() AlsaInit(); while (!thread_data) { - int frames_to_deliver = 512; + // nakee: What is the optimal value? + int frames_to_deliver = 4096; m_mixer->Mix(reinterpret_cast(mix_buffer), frames_to_deliver); int rc = snd_pcm_writei(handle, mix_buffer, frames_to_deliver); if (rc == -EPIPE)