]> git.alsa-project.org Git - alsa-lib.git/commit
Fix possible noises and optimization with dmix
authorTakashi Iwai <tiwai@suse.de>
Thu, 19 May 2005 14:14:04 +0000 (14:14 +0000)
committerTakashi Iwai <tiwai@suse.de>
Thu, 19 May 2005 14:14:04 +0000 (14:14 +0000)
commit5227c7e170b44cbd907263fca45928e79dd494ac
tree84d6776b218edd7077f06f0e936e95d85a6c3038
parent1cd04dba82ca1a316a214abff1714ce5033417d2
Fix possible noises and optimization with dmix

dmix transfers data in asynchronously so that it doesn't write on the
last active period.  This will allow the arbitrary buffer size in
future, too.

The hwsync call to slave is removed from commit and hwsync callbacks.
This hack was added to fix the noisy output (typically on xmms/bmp)
but it doesn't happen any more.  Now the hwsync behavior is as same as
on 1.0.8 (i.e. hwsync is called only when slowptr option is set).
src/pcm/pcm_direct.c
src/pcm/pcm_direct.h
src/pcm/pcm_dmix.c