tests: Make echo-cancel-test not crash
authorArun Raghavan <git@arunraghavan.net>
Wed, 21 Oct 2015 06:15:32 +0000 (11:45 +0530)
committerArun Raghavan <git@arunraghavan.net>
Fri, 20 Nov 2015 13:54:50 +0000 (19:24 +0530)
commita01354db002aa8f7ce5eb08acd85e75fde8df4a8
tree56b5d70e176989504ecd3690a7ee8ea2d885623e
parentd084cf144a234a94de4fde8974bc957e8b721156
tests: Make echo-cancel-test not crash

Adding AGC broke this test, so we hard-disable the volume code in test
mode. This is probably okay for now, since at least with analog AGC, the
source volume changes and the data we get is going to be with AGC
applied, but digital gain won't be encapsulated here.

Long term, we might need to figure out how to deal with this properly.
src/modules/echo-cancel/module-echo-cancel.c