]> git.alsa-project.org Git - alsa-lib.git/commit
Fix noisy output of dmix with two periods
authorTakashi Iwai <tiwai@suse.de>
Fri, 24 Mar 2006 14:53:41 +0000 (14:53 +0000)
committerTakashi Iwai <tiwai@suse.de>
Fri, 24 Mar 2006 14:53:41 +0000 (14:53 +0000)
commit09c5db44a4665eac7dd658291bb2fd5d85e469d7
treec8701c7f203423a1197fe53059fbeccd58a80675
parent1a9c520529b9f56f46b38671838b2a870f083c13
Fix noisy output of dmix with two periods

Fixed the noisy output of dmix with two (or less) periods.
The dmix tends to give noise or XRUN when running with two periods
because of its implementation nature.  To avoid this, the start
position is aligned to the period size, so that the updates are synced
with interrupts of slave PCM.
src/pcm/pcm_direct.c
src/pcm/pcm_dmix.c