]> git.alsa-project.org Git - alsa-utils.git/commit
aplay: fix pcm_read() return value
authorOlivier Langlois <olivier@trillion01.com>
Wed, 8 Jan 2014 04:18:17 +0000 (23:18 -0500)
committerTakashi Iwai <tiwai@suse.de>
Wed, 8 Jan 2014 10:56:52 +0000 (11:56 +0100)
commit8aa13eec80eac312e4b99423909387660fb99b8f
tree408d781d60bcc34e0cb093b6315aa9ac0dd6ef59
parentf4be3f88b6e80e3f3ea19ba5784cff49ab6e6277
aplay: fix pcm_read() return value

Because of the way the pcm_read() functions are currently used, returning
rcount or result is equivalent but I feel it is more accurate to
return 'result'.

Signed-off-by: Olivier Langlois <olivier@trillion01.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
aplay/aplay.c