Bug 1766646 - Vendor libwebrtc from ab4a49259c

Upstream commit: https://webrtc.googlesource.com/src/+/ab4a49259c0ea3ab7e7dc28c7bda8f443181cf92
    GainController2::ToString updated

    New params have recently been added, but ToString() was not updated.

    Bug: webrtc:7494
    Change-Id: I2115ccb08d29e860a658284d096e48da17daaedd
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/186267
    Commit-Queue: Alessio Bazzica <alessiob@webrtc.org>
    Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
    Cr-Commit-Position: refs/heads/master@{#32283}
This commit is contained in:
Michael Froman 2022-03-31 11:32:52 -05:00 коммит произвёл Connor Sheehan
Родитель 9b8da2d6b0
Коммит 69ae674719
3 изменённых файлов: 24 добавлений и 4 удалений

3
third_party/libwebrtc/README.moz-ff-commit поставляемый
Просмотреть файл

@ -387,3 +387,6 @@ c082eba758
# MOZ_LIBWEBRTC_SRC=/home/mfroman/git-checkouts/trial-webrtc-builds/moz-libwebrtc-checkout/src MOZ_LIBWEBRTC_COMMIT=mjfdev bash dom/media/webrtc/third_party_build/fast-forward-libwebrtc.sh
# base of lastest vendoring
9a625e7aef
# MOZ_LIBWEBRTC_SRC=/home/mfroman/git-checkouts/trial-webrtc-builds/moz-libwebrtc-checkout/src MOZ_LIBWEBRTC_COMMIT=mjfdev bash dom/media/webrtc/third_party_build/fast-forward-libwebrtc.sh
# base of lastest vendoring
ab4a49259c

2
third_party/libwebrtc/README.mozilla поставляемый
Просмотреть файл

@ -258,3 +258,5 @@ libwebrtc updated from /home/mfroman/git-checkouts/trial-webrtc-builds/moz-libwe
libwebrtc updated from /home/mfroman/git-checkouts/trial-webrtc-builds/moz-libwebrtc-checkout/src commit mjfdev on 2022-03-31T15:39:26.005519.
# python3 vendor-libwebrtc.py --from-local /home/mfroman/git-checkouts/trial-webrtc-builds/moz-libwebrtc-checkout/src --commit mjfdev libwebrtc
libwebrtc updated from /home/mfroman/git-checkouts/trial-webrtc-builds/moz-libwebrtc-checkout/src commit mjfdev on 2022-03-31T15:40:07.064009.
# python3 vendor-libwebrtc.py --from-local /home/mfroman/git-checkouts/trial-webrtc-builds/moz-libwebrtc-checkout/src --commit mjfdev libwebrtc
libwebrtc updated from /home/mfroman/git-checkouts/trial-webrtc-builds/moz-libwebrtc-checkout/src commit mjfdev on 2022-03-31T16:32:46.126217.

Просмотреть файл

@ -112,10 +112,25 @@ std::string GainController2::ToString(
"adaptive_digital: {"
"enabled: "
<< (config.adaptive_digital.enabled ? "true" : "false") << ", "
"level_estimator: " << adaptive_digital_level_estimator << ", "
"extra_saturation_margin_db:"
<< config.adaptive_digital.extra_saturation_margin_db << "}"
"}";
"level_estimator: {"
"type: " << adaptive_digital_level_estimator << ", "
"adjacent_speech_frames_threshold: "
<< config.adaptive_digital
.level_estimator_adjacent_speech_frames_threshold << ", "
"initial_saturation_margin_db: "
<< config.adaptive_digital.initial_saturation_margin_db << ", "
"extra_saturation_margin_db: "
<< config.adaptive_digital.extra_saturation_margin_db << "}, "
"gain_applier: {"
"adjacent_speech_frames_threshold: "
<< config.adaptive_digital
.gain_applier_adjacent_speech_frames_threshold << ", "
"max_gain_change_db_per_second: "
<< config.adaptive_digital.max_gain_change_db_per_second << ", "
"max_output_noise_level_dbfs: "
<< config.adaptive_digital.max_output_noise_level_dbfs << "}"
"}"
"}";
// clang-format on
return ss.Release();
}