diff options
| author | nakeee <nakeee@gmail.com> | 2009-11-27 11:52:29 +0000 |
|---|---|---|
| committer | nakeee <nakeee@gmail.com> | 2009-11-27 11:52:29 +0000 |
| commit | 3e49599a338f84ba4d4254f58fe4df316ac86464 (patch) | |
| tree | 900824ab81a577701d7c5c4852b45b9556463069 /Source/Core/AudioCommon/Src/AlsaSoundStream.cpp | |
| parent | fddab016fa51008a9490e361022fd59d1a2727b0 (diff) | |
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
Diffstat (limited to 'Source/Core/AudioCommon/Src/AlsaSoundStream.cpp')
| -rw-r--r-- | Source/Core/AudioCommon/Src/AlsaSoundStream.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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<short *>(mix_buffer), frames_to_deliver); int rc = snd_pcm_writei(handle, mix_buffer, frames_to_deliver); if (rc == -EPIPE) |
