mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
aec-webrtc: clarify comment
drift-compensation is not needed because PipeWire already does drift compensation between all sinks and sources linked to the resampler. See #2692
This commit is contained in:
parent
03f9466c5d
commit
bc2cf226d7
1 changed files with 2 additions and 1 deletions
|
|
@ -100,7 +100,8 @@ static int webrtc_init(void *object, const struct spa_dict *args, const struct s
|
|||
}
|
||||
|
||||
apm->high_pass_filter()->Enable(high_pass_filter);
|
||||
// Always disable drift compensation since it requires drift sampling
|
||||
// Always disable drift compensation since PipeWire will already do
|
||||
// drift compensation on all sinks and sources linked to this echo-canceler
|
||||
apm->echo_cancellation()->enable_drift_compensation(false);
|
||||
apm->echo_cancellation()->Enable(true);
|
||||
// TODO: wire up supression levels to args
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue