echo-cancel: Use anonymous unions for echo canceller params

Makes this part of the code just a little less verbose.
This commit is contained in:
Arun Raghavan 2016-02-17 19:47:06 +05:30
parent aa02e1654b
commit 8de7dfec14
5 changed files with 71 additions and 70 deletions

View file

@ -69,10 +69,11 @@ struct pa_echo_canceller_params {
void *trace_callback;
bool agc;
bool first;
unsigned int agc_start_volume;
} webrtc;
#endif
/* each canceller-specific structure goes here */
} priv;
};
/* Set this if canceller can do drift compensation. Also see set_drift()
* below */