OSDN Git Service

pcm: rate: Don't return negative frame count on success in rewind
authorAndrew Eikum <aeikum@codeweavers.com>
Fri, 4 Apr 2014 18:27:25 +0000 (13:27 -0500)
committerTakashi Iwai <tiwai@suse.de>
Mon, 7 Apr 2014 10:41:58 +0000 (12:41 +0200)
commit351870fd2d3245c33e9e8bc722f14041172513c2
tree5b22ad72f58aeded8a95555722a5f2942674c748
parent8dcce52ee09b12d977ea23ccd281a17bdcc5414e
pcm: rate: Don't return negative frame count on success in rewind

snd_pcm_rewind is documented to return <0 on failure and >=0 on
success.

Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
src/pcm/pcm_rate.c