Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/frontend/StarVoice.hpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2024-03-25 01:57:55 +1100
committerKae <80987908+Novaenia@users.noreply.github.com>2024-03-25 01:57:55 +1100
commit6b8c4729787daa0c584447f9014bf32320d82789 (patch)
treed450f79ef6757ea96c69a5a4b5cda2d90f37d383 /source/frontend/StarVoice.hpp
parent5da4b1a4e3493427567583c90c4cbe03c5d3979c (diff)
nicer volume sliders
Diffstat (limited to 'source/frontend/StarVoice.hpp')
-rw-r--r--source/frontend/StarVoice.hpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/source/frontend/StarVoice.hpp b/source/frontend/StarVoice.hpp
index fa149b6..8059dd4 100644
--- a/source/frontend/StarVoice.hpp
+++ b/source/frontend/StarVoice.hpp
@@ -173,9 +173,13 @@ private:
OpusEncoderPtr m_encoder;
-
+
float m_outputVolume = 1.0f;
float m_inputVolume = 1.0f;
+
+ float m_outputAmplitude = 1.0f;
+ float m_inputAmplitude = 1.0f;
+
float m_threshold = -50.0f;
int64_t m_lastSentTime = 0;