pkgsrc-wip/chromium/patches/patch-media_audio_audio__ma...

14 lines
532 B
C++

$NetBSD$
--- media/audio/audio_manager.h.orig 2020-07-08 21:40:45.000000000 +0000
+++ media/audio/audio_manager.h
@@ -60,7 +60,7 @@ class MEDIA_EXPORT AudioManager {
static std::unique_ptr<AudioManager> CreateForTesting(
std::unique_ptr<AudioThread> audio_thread);
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_BSD)
// Sets the name of the audio source as seen by external apps. Only actually
// used with PulseAudio as of this writing.
static void SetGlobalAppName(const std::string& app_name);