]> code.delx.au - pulseaudio/commit
echo-cancel: Let AEC module determine source/sink spec
authorArun Raghavan <arun.raghavan@collabora.co.uk>
Mon, 6 Sep 2010 16:53:51 +0000 (22:23 +0530)
committerArun Raghavan <arun.raghavan@collabora.co.uk>
Tue, 7 Sep 2010 09:42:12 +0000 (15:12 +0530)
commit126e1336b214dacda511f3dbf5a463aaaa1f10ee
treedb3c7949a8dd56932e167410a7d06372a475f3dc
parent21001f49a4bd9dd3adbba4cb4edf41bcda656706
echo-cancel: Let AEC module determine source/sink spec

Since the source and sink specification will need to be determined by
the AEC algorithm (can it handle multi-channel audio, does it work with
a fixed sample rate, etc.), we negotiate these using inout parameters at
initialisation time.

There is opportunity to make the sink-handling more elegant. Since the
sink data isn't used for playback (just processing), we could pass
through the data as-is and resample to the required spec before using in
the cancellation algorithm. This isn't too important immediately, but
would be nice to have.
src/modules/echo-cancel/echo-cancel.h
src/modules/echo-cancel/module-echo-cancel.c
src/modules/echo-cancel/speex.c