summaryrefslogtreecommitdiff
path: root/indra/llplugin/llpluginclassmedia.cpp
diff options
context:
space:
mode:
authorMaki <maki@hotmilk.space>2024-04-19 02:32:29 -0400
committerMaki <maki@hotmilk.space>2024-04-19 02:32:29 -0400
commit477b45be1be256b7496e1d45b41754c6e40ef58a (patch)
tree24dbec258400c592af9fe04e8ba8532a63346448 /indra/llplugin/llpluginclassmedia.cpp
parent09b0244f0e623dad43f579c9c7ba42ad0d53ed25 (diff)
Add toggle for PipeWire volume catcher, and refactoring
Diffstat (limited to 'indra/llplugin/llpluginclassmedia.cpp')
-rw-r--r--indra/llplugin/llpluginclassmedia.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/indra/llplugin/llpluginclassmedia.cpp b/indra/llplugin/llpluginclassmedia.cpp
index 3e72710366..3d87e2be7c 100644
--- a/indra/llplugin/llpluginclassmedia.cpp
+++ b/indra/llplugin/llpluginclassmedia.cpp
@@ -981,6 +981,15 @@ void LLPluginClassMedia::enableMediaPluginDebugging( bool enable )
sendMessage( message );
}
+#if LL_LINUX
+void LLPluginClassMedia::enablePipeWireVolumeCatcher( bool enable )
+{
+ LLPluginMessage message(LLPLUGIN_MESSAGE_CLASS_MEDIA, "enable_pipewire_volume_catcher");
+ message.setValueBoolean( "enable", enable );
+ sendMessage( message );
+}
+#endif
+
void LLPluginClassMedia::setTarget(const std::string &target)
{
mTarget = target;