]> git.alsa-project.org Git - alsa-lib.git/commit
rate plugin: fix fragment size calculation
authorClemens Ladisch <clemens@ladisch.de>
Mon, 13 Mar 2006 10:40:21 +0000 (10:40 +0000)
committerClemens Ladisch <clemens@ladisch.de>
Mon, 13 Mar 2006 10:40:21 +0000 (10:40 +0000)
commitaaaf84387162390a7e8a8b1aca3f2408f9392bd0
tree0203e87bb1de31415bcffb071b8dd734362fb520
parent931e840a9fd462b897856a8ea4eea41d5e869e84
rate plugin: fix fragment size calculation

When calculating the size of the second fragment, do not assume that the
entire size is one period size (which is not true in the draining state)
but use the actual size passed by the caller.
src/pcm/pcm_rate.c