]> git.alsa-project.org Git - alsa-utils.git/commit
Revert "aplay: fix pcm_read() return value"
authorJaroslav Kysela <perex@perex.cz>
Wed, 1 Oct 2014 13:43:57 +0000 (15:43 +0200)
committerJaroslav Kysela <perex@perex.cz>
Wed, 1 Oct 2014 13:43:57 +0000 (15:43 +0200)
commit8f361d83cfcb39887f5fc591633e68d9448e3425
tree25642de9190b7c1bc62eb697cbbcb936aa761eb5
parent89a4f490bd974e454d82942100f241bb1a2270f3
Revert "aplay: fix pcm_read() return value"

This reverts commit 8aa13eec80eac312e4b99423909387660fb99b8f.

The semantics for pcm_read() and pcm_readv() was changed, but the
callers expect the exact frame count as requested. It's possible
to fix callers, but the fix is more complicated than to revert the
change. Note that '-d' processing was broken in some cases.

Note: The reverted commit allows that the return value might be
greater than requested (see the first condition in read routines).
aplay/aplay.c