OSDN Git Service

fix return value of snd_pcm_rewind()/snd_pcm_forward() to return how much actually...
authorLennart Poettering <mznyfn@0pointer.de>
Fri, 18 Jul 2008 19:24:38 +0000 (21:24 +0200)
committerTakashi Iwai <tiwai@suse.de>
Sun, 20 Jul 2008 15:27:57 +0000 (17:27 +0200)
commit8d3fb3102f672a7b09be92811e89d49f89c1742b
tree19cb48077f5e553004dfafe6e134ebd13b41ccab
parent15769ead725b7c215dedd4ea5196955086d2044a
fix return value of snd_pcm_rewind()/snd_pcm_forward() to return how much actually has been rewound, instead of what actually could have rewound

Make snd_pcm_plugin_rewind()/_forward() actually return how much has
been rewound/forwarded instead of how much could have been
rewounded/forwarded. This makes the code actually do what the
documentation of snd_pcm_rewind() suggests.

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