]> git.alsa-project.org Git - alsa-lib.git/commit
Delayed start for dmix
authorTakashi Iwai <tiwai@suse.de>
Tue, 29 Mar 2005 14:06:00 +0000 (14:06 +0000)
committerTakashi Iwai <tiwai@suse.de>
Tue, 29 Mar 2005 14:06:00 +0000 (14:06 +0000)
commit5e325ea18b096a721188738d2d49104e43cad11b
tree8f07bcc0ab2ae8fa7449578a715d1f67c89e4a11
parentc5c9b2c8bbc6b47a46a64be37d306be1f78ac9b6
Delayed start for dmix

Introducing a private state for the delayed start of PCM stream.
This problem occurs when the rate plugin doesn't feed the data
properly before triggering START.  This results in weird problems,
e.g. an inifinte loop of artsd eating 100% CPU time.

To solve this problem, the state is marked as "pending" when no
data appears at the trigger, and the stream is started later at
the mmap commit.
src/pcm/pcm_dmix.c