summaryrefslogtreecommitdiff
path: root/indra/media_plugins/cef/media_plugin_cef.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/media_plugins/cef/media_plugin_cef.cpp
parent09b0244f0e623dad43f579c9c7ba42ad0d53ed25 (diff)
Add toggle for PipeWire volume catcher, and refactoring
Diffstat (limited to 'indra/media_plugins/cef/media_plugin_cef.cpp')
-rw-r--r--indra/media_plugins/cef/media_plugin_cef.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/media_plugins/cef/media_plugin_cef.cpp b/indra/media_plugins/cef/media_plugin_cef.cpp
index 60d91753d0..3cd9e620db 100644
--- a/indra/media_plugins/cef/media_plugin_cef.cpp
+++ b/indra/media_plugins/cef/media_plugin_cef.cpp
@@ -908,6 +908,13 @@ void MediaPluginCEF::receiveMessage(const char* message_string)
{
mEnableMediaPluginDebugging = message_in.getValueBoolean("enable");
}
+#if LL_LINUX
+ else if (message_name == "enable_pipewire_volume_catcher")
+ {
+ bool enable = message_in.getValueBoolean("enable");
+ mVolumeCatcher.onEnablePipeWireVolumeCatcher(enable);
+ }
+#endif
if (message_name == "pick_file_response")
{
LLSD file_list_llsd = message_in.getValueLLSD("file_list");