mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-06-05 03:01:53 -04:00
spa: aec: Fix a spurious warning while parsing args
This commit is contained in:
parent
a5c7dd3127
commit
cecdbc034f
1 changed files with 2 additions and 2 deletions
|
|
@ -213,8 +213,8 @@ static int webrtc_init2(void *object, const struct spa_dict *args,
|
||||||
agc1_mode = webrtc::AudioProcessing::Config::GainController1::Mode::kFixedDigital;
|
agc1_mode = webrtc::AudioProcessing::Config::GainController1::Mode::kFixedDigital;
|
||||||
else if (spa_streq(str, "adaptive-analog"))
|
else if (spa_streq(str, "adaptive-analog"))
|
||||||
spa_log_warn(impl->log, "Adaptive analog mode is not implemented");
|
spa_log_warn(impl->log, "Adaptive analog mode is not implemented");
|
||||||
else
|
else if (str != NULL)
|
||||||
spa_log_warn(impl->log, "Unknown AGC2 mode '%s'", str);
|
spa_log_warn(impl->log, "Unknown AGC1 mode '%s'", str);
|
||||||
|
|
||||||
config.gain_controller1.enabled = gain_control1;
|
config.gain_controller1.enabled = gain_control1;
|
||||||
config.gain_controller1.mode = agc1_mode;
|
config.gain_controller1.mode = agc1_mode;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue