]> git.alsa-project.org Git - alsa-lib.git/commit
dmix skipping first set of samples
authorTakashi Iwai <tiwai@suse.de>
Mon, 10 Mar 2008 11:02:26 +0000 (12:02 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 10 Mar 2008 11:02:26 +0000 (12:02 +0100)
commitfe8bb134005bf0afeaa9dbd1465f01a575728a35
tree26a5ddae8c192459906518d54d0f7bf88562a27c
parentd587383d6b2dba9731959d5b5ad11e672fb361c7
dmix skipping first set of samples

There was a change in alsa-lib 1.0.16 which looks like it was designed to
make dmix skip samples in the case of underruns, but it causes the first
sample to be skipped since dmix->slave_hw_ptr == dmix->slave_appl_ptr.
The following patch fixes this and fixes a small typo in the comment.

From: Mike Gorse <mgorse@mgorse.dhs.org>
src/pcm/pcm_dmix.c