diff options
Diffstat (limited to 'indra/llplugin/llpluginclassmedia.cpp')
| -rw-r--r-- | indra/llplugin/llpluginclassmedia.cpp | 17 | 
1 files changed, 17 insertions, 0 deletions
diff --git a/indra/llplugin/llpluginclassmedia.cpp b/indra/llplugin/llpluginclassmedia.cpp index 77a4b08af5..53a338b3d6 100644 --- a/indra/llplugin/llpluginclassmedia.cpp +++ b/indra/llplugin/llpluginclassmedia.cpp @@ -1015,6 +1015,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; @@ -1248,6 +1257,14 @@ void LLPluginClassMedia::receivePluginMessage(const LLPluginMessage &message)              mMediaName = message.getValue("name");              mediaEvent(LLPluginClassMediaOwner::MEDIA_EVENT_NAME_CHANGED);          } +        else if(message_name == "title_text") +        { +            mMediaTitle = message.getValue("title"); +        } +        else if(message_name == "nowplaying_text") +        { +            mMediaNowPlaying = message.getValue("nowplaying"); +        }          else if(message_name == "pick_file")          {              mIsMultipleFilePick = message.getValueBoolean("multiple_files");  | 
