summaryrefslogtreecommitdiff
path: root/indra/media_plugins/cef/linux/volume_catcher_linux.cpp
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2025-03-08 17:45:47 +0800
committerErik Kundiman <erik@megapahit.org>2025-03-08 18:00:41 +0800
commit2170cca3a9f205bc6dda9d1b084ff5c8821186c9 (patch)
tree9d575dd8c1b831c438e61b0cdb2005796afae563 /indra/media_plugins/cef/linux/volume_catcher_linux.cpp
parent69c252bd0db1eb893cfef6557acce0c038d8995d (diff)
Exempt Tumbleweed from PipeWire
since they upgraded to 1.3.83 from stable 1.2.7 and there seem to be API changes and we're not ready for them yet.
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();