]> git.alsa-project.org Git - alsa-lib.git/commit
clamp snd_pcm_rewind()/snd_pcm_forward() into the right direction
authorLennart Poettering <mznyfn@0pointer.de>
Fri, 18 Jul 2008 19:21:23 +0000 (21:21 +0200)
committerTakashi Iwai <tiwai@suse.de>
Sun, 20 Jul 2008 15:25:53 +0000 (17:25 +0200)
commit0fbfe2d8d6aac06e6615b7109ffc1fea8c62dee6
treed5061c4173948d36279d7389ee7a61cc22f2eb9f
parentf78af4ab0412052aabb74c9122a8d8f3ab6d45e6
clamp snd_pcm_rewind()/snd_pcm_forward() into the right direction

The clamping of the input parameter in snd_pcm_rewind()/_forward() is
in the wrong direction.

Signed-off-by: Lennart Poettering <lennart@poettering.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
src/pcm/pcm_plugin.c