]> git.alsa-project.org Git - alsa-lib.git/commit
rate plugin: fix boundary calculations
authorClemens Ladisch <clemens@ladisch.de>
Wed, 27 Sep 2006 09:11:29 +0000 (11:11 +0200)
committerClemens Ladisch <clemens@ladisch.de>
Wed, 27 Sep 2006 09:11:29 +0000 (11:11 +0200)
commit436b003173430a45a5fe66376fa27ab92728507b
treeed918344eac8259647855578c173808f82ea6254
parent43b2802216ba27037b72360baf28840f94ebe0e3
rate plugin: fix boundary calculations

Make sure that the rate plugin does not try to change the slave's
boundary value when setting software parameters; such a change wouldn't
affect the slave pcm.

Furthermore, the stop_threshold conversion code used the wrong boundary
value, and the silence_size conversion code did not take into account
the boundary value at all.
src/pcm/pcm_rate.c