diff options
author | Erik Kundiman <erik@megapahit.org> | 2024-06-20 16:16:37 +0800 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2024-06-20 20:52:45 +0800 |
commit | ad5dec92bcb7d11e6a48b6ec6a220a49de985351 (patch) | |
tree | 3870c4c7f1c9521c6ad40d1cfe1b1d8fc39882ef /indra/media_plugins/cef/volume_catcher.h | |
parent | 16299d3a3631e4c42367cf40410ad6995e585384 (diff) | |
parent | a65bc46b138b89200586b29fe729cbc7b0f0c8c4 (diff) |
Merge remote-tracking branch 'secondlife/release/maint-b' into maint-b
Diffstat (limited to 'indra/media_plugins/cef/volume_catcher.h')
-rw-r--r-- | indra/media_plugins/cef/volume_catcher.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/indra/media_plugins/cef/volume_catcher.h b/indra/media_plugins/cef/volume_catcher.h index ea97a24947..6933854e8e 100644 --- a/indra/media_plugins/cef/volume_catcher.h +++ b/indra/media_plugins/cef/volume_catcher.h @@ -35,19 +35,20 @@ class VolumeCatcherImpl; class VolumeCatcher { - public: +public: VolumeCatcher(); ~VolumeCatcher(); - void setVolume(F32 volume); // 0.0 - 1.0 - - // Set the left-right pan of audio sources - // where -1.0 = left, 0 = center, and 1.0 = right + void setVolume(F32 volume); void setPan(F32 pan); - void pump(); // call this at least a few times a second if you can - it affects how quickly we can 'catch' a new audio source and adjust its volume + void pump(); + +#if LL_LINUX + void onEnablePipeWireVolumeCatcher(bool enable); +#endif - private: +private: VolumeCatcherImpl *pimpl; }; |