Source code

Revision control

Copy as Markdown

Other Tools

From: Michael Froman <mfroman@mozilla.com>
Date: Tue, 17 Sep 2024 17:32:00 -0500
Subject: Bug 1918268 - (fix-90c430cda4) don't use std::nullopt with
absl::optional
---
modules/audio_processing/audio_processing_impl.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/audio_processing/audio_processing_impl.cc b/modules/audio_processing/audio_processing_impl.cc
index 9a831d9435..6b448470ae 100644
--- a/modules/audio_processing/audio_processing_impl.cc
+++ b/modules/audio_processing/audio_processing_impl.cc
@@ -1446,7 +1446,7 @@ int AudioProcessingImpl::ProcessCaptureStreamLocked() {
// TODO(bugs.webrtc.org/7494): Let AGC2 detect applied input volume
// changes.
submodules_.gain_controller2->Process(
- /*speech_probability=*/std::nullopt,
+ /*speech_probability=*/absl::nullopt,
capture_.applied_input_volume_changed, capture_buffer);
}