freebsd-ports/www/iridium/files/patch-media_audio_audio__input__device.cc
Robert Nagy 06a832ee8d www/iridium: resurrect, update to 2022.03.99.1
Sync the port to www/chromium and the shared *BSD patchset

This port no longer uses Python 2.7
2022-03-30 17:20:38 +02:00

11 lines
557 B
C++

--- media/audio/audio_input_device.cc.orig 2022-03-28 18:11:04 UTC
+++ media/audio/audio_input_device.cc
@@ -259,7 +259,7 @@ void AudioInputDevice::OnStreamCreated(
// here. See comments in AliveChecker and PowerObserverHelper for details and
// todos.
if (detect_dead_stream_ == DeadStreamDetection::kEnabled) {
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
const bool stop_at_first_alive_notification = true;
const bool pause_check_during_suspend = false;
#else