mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-07 18:16:23 +00:00
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
This commit is contained in:
parent
fddab016fa
commit
3e49599a33
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue