]> code.delx.au - pulseaudio/commit
echo-cancel: Fix apply_diff_time() to use correct sample spec
authorStefan Huber <s.huber@bct-electronic.com>
Tue, 4 Dec 2012 13:54:58 +0000 (14:54 +0100)
committerTanu Kaskinen <tanuk@iki.fi>
Wed, 19 Dec 2012 10:31:48 +0000 (12:31 +0200)
commit53f2964b4015b83a928d3f98253dfc59cc3d7f62
tree3fc8e1d20080fc6bb7569bccaca39bcbb14849e6
parent4d65c9582d42bea6816063fc6246bcce3bd02146
echo-cancel: Fix apply_diff_time() to use correct sample spec

apply_diff_time() fails when dropping bytes from the playback stream
and the sample spec of sink and source differ as source's sample spec is
used. Fix this by using sink's sample spec.

Signed-off-by: Stefan Huber <s.huber@bct-electronic.com>
Acked-by: Peter Meerwald <p.meerwald@bct-electronic.com>
src/modules/echo-cancel/module-echo-cancel.c