echo-cancel: Fix webrtc canceller when rec channels != play channels

The calculations around how many samples were sent to the canceller
engine was not updated when we started supporting different channel
counts for playback and capture.
This commit is contained in:
Arun Raghavan 2016-02-17 19:47:08 +05:30
parent 08afc36ae4
commit 5baecd37c3
2 changed files with 14 additions and 14 deletions

View file

@ -64,8 +64,8 @@ struct pa_echo_canceller_params {
/* This is a void* so that we don't have to convert this whole file
* to C++ linkage. apm is a pointer to an AudioProcessing object */
void *apm;
uint32_t blocksize;
pa_sample_spec sample_spec;
unsigned int blocksize; /* in frames */
pa_sample_spec rec_ss, play_ss;
void *trace_callback;
bool agc;
bool first;