echo-cancel: Adapt test code for drift compensation
authorArun Raghavan <arun.raghavan@collabora.co.uk>
Mon, 10 Oct 2011 17:01:38 +0000 (22:31 +0530)
committerArun Raghavan <arun.raghavan@collabora.co.uk>
Tue, 1 Nov 2011 12:50:43 +0000 (18:20 +0530)
commite310f4853e2dddfeab7de7231a073baccfe8ef4d
tree94c8634afae17b3874a61757b958c81b738a87bb
parent23ce9a4f7910d52e07403049b40ee226622a5f36
echo-cancel: Adapt test code for drift compensation

This dumps out an additional file with each line having a command of the
form:

p <number of playback samples processed>
c <number of capture samples processed>
d <drift as passed to set_drift()>

The test program can be provided this file to "replay" the data exactly
as when it was run live.

The non-drift-compensation path is retained as-is since it is much
simpler.
src/modules/echo-cancel/module-echo-cancel.c