diff options
author | Nicky <nicky.dasmijn@posteo.nl> | 2024-05-22 13:20:39 +0200 |
---|---|---|
committer | Nicky <nicky.dasmijn@posteo.nl> | 2024-05-22 13:20:39 +0200 |
commit | 7d62d0c5752814f27a17c86618f628d0e4ff9b0d (patch) | |
tree | 93d0371cb8be6a892947c24087083b6faee249b3 /indra/media_plugins/cef/volume_catcher.h | |
parent | 91fcae72aa8a5c6c02a08f8fa582880ca5cf72c2 (diff) |
Move Linux specific VolumeCatcherImport into the linux specific files.
Diffstat (limited to 'indra/media_plugins/cef/volume_catcher.h')
-rw-r--r-- | indra/media_plugins/cef/volume_catcher.h | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/indra/media_plugins/cef/volume_catcher.h b/indra/media_plugins/cef/volume_catcher.h index 51a309fb97..d6ac8e9159 100644 --- a/indra/media_plugins/cef/volume_catcher.h +++ b/indra/media_plugins/cef/volume_catcher.h @@ -31,21 +31,9 @@ #include "linden_common.h" -class VolumeCatcherImpl -{ -public: - virtual ~VolumeCatcherImpl() = default; - - virtual void setVolume(F32 volume) = 0; // 0.0 - 1.0 - - // Set the left-right pan of audio sources - // where -1.0 = left, 0 = center, and 1.0 = right - virtual void setPan(F32 pan) = 0; - - virtual void pump() = 0; // 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 -}; +class VolumeCatcherImpl; -class VolumeCatcher : public VolumeCatcherImpl +class VolumeCatcher { public: VolumeCatcher(); |