summaryrefslogtreecommitdiff
path: root/indra/media_plugins/cef/linux/volume_catcher_linux.cpp
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2025-03-21 15:41:51 +0800
committerErik Kundiman <erik@megapahit.org>2025-03-21 15:41:51 +0800
commit0cdb7d97f67b3a67097e56e71021cb6120ec8a8b (patch)
treeef3b4a08dd82d137ebe269bdbaedc89b6576511d /indra/media_plugins/cef/linux/volume_catcher_linux.cpp
parentd13a43c74f9c7e450f87edab0bcd9db39ee7c56e (diff)
parentc83e19c467ad055ecaf29989ff80051d32f61c98 (diff)
Merge branch 'main' into 2025.03
Diffstat (limited to 'indra/media_plugins/cef/linux/volume_catcher_linux.cpp')
-rw-r--r--indra/media_plugins/cef/linux/volume_catcher_linux.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/media_plugins/cef/linux/volume_catcher_linux.cpp b/indra/media_plugins/cef/linux/volume_catcher_linux.cpp
index 7d33242063..ba2ed1aa56 100644
--- a/indra/media_plugins/cef/linux/volume_catcher_linux.cpp
+++ b/indra/media_plugins/cef/linux/volume_catcher_linux.cpp
@@ -37,12 +37,14 @@ void VolumeCatcher::onEnablePipeWireVolumeCatcher(bool enable)
if (pimpl != nullptr)
return;
+#if USE_VOLUME_CATCHER_PW
if (enable)
{
LL_DEBUGS() << "volume catcher using pipewire" << LL_ENDL;
pimpl = new VolumeCatcherPipeWire();
}
else
+#endif
{
LL_DEBUGS() << "volume catcher using pulseaudio" << LL_ENDL;
pimpl = new VolumeCatcherPulseAudio();