diff options
author | Brad Linden <46733234+brad-linden@users.noreply.github.com> | 2024-09-23 13:31:55 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-23 13:31:55 -0700 |
commit | d8e52ec001c476a2320f2d5caceb813465d707e4 (patch) | |
tree | 2fe671253d83620fba0e0b1c6c488997b558a7ef /indra/media_plugins/cef/volume_catcher.h | |
parent | 3747dd9a085e4d75ec21c8048f1269bc3f29e582 (diff) | |
parent | 38916ebf367aa400d8151d78204e714d40e8c323 (diff) |
Merge pull request #940 from secondlife/release/maint-b
Maintenance B merges into develop
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; }; |