echo-cancel: Convert AGC API to deal with pa_volume_t
authorArun Raghavan <git@arunraghavan.net>
Thu, 25 Feb 2016 12:28:38 +0000 (17:58 +0530)
committerArun Raghavan <git@arunraghavan.net>
Thu, 25 Feb 2016 13:36:44 +0000 (19:06 +0530)
commitfa2b0b4aad6e1aab6410b9c157a4cdf4f53e10fa
treedc44dee60f92a5a94914f7814e9249bb724f2723
parent05a6af744b157d7a94649eaff9702d9588b0a08e
echo-cancel: Convert AGC API to deal with pa_volume_t

It is expected that the underlying AGC mechanism will likely provide a
single volume for the source rather than a per-channel volume. Dealing
with per-channel volumes just adds complexity with regards to the
actual volume setting (depending on whether volume sharing is enabled or
not, we would set the volume on the source output of the virtual source,
and their sample specs may be different).

Using a single volume allows us to sidestep this problem entirely.
src/modules/echo-cancel/echo-cancel.h
src/modules/echo-cancel/module-echo-cancel.c
src/modules/echo-cancel/webrtc.cc