mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-05 13:29:57 -05:00
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:
parent
08afc36ae4
commit
5baecd37c3
2 changed files with 14 additions and 14 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue