summaryrefslogtreecommitdiff
path: root/src/windows/voicesettingswindow.hpp
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2023-06-22 01:12:44 -0400
committerouwou <26526779+ouwou@users.noreply.github.com>2023-06-22 01:12:44 -0400
commit85bc7b95f76cbc27e414c9f9182e51052b259b20 (patch)
tree797276a9d8e374b2e7afeaecc1580753ea08ff93 /src/windows/voicesettingswindow.hpp
parent7832ab5d2a24cc951ad411649b74defd46afb224 (diff)
downloadabaddon-portaudio-85bc7b95f76cbc27e414c9f9182e51052b259b20.tar.gz
abaddon-portaudio-85bc7b95f76cbc27e414c9f9182e51052b259b20.zip
allow setting unreasonably high gain
apparently packing is still a thing or whatever... someone asked
Diffstat (limited to 'src/windows/voicesettingswindow.hpp')
-rw-r--r--src/windows/voicesettingswindow.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/windows/voicesettingswindow.hpp b/src/windows/voicesettingswindow.hpp
index cf6b477..9b3498e 100644
--- a/src/windows/voicesettingswindow.hpp
+++ b/src/windows/voicesettingswindow.hpp
@@ -18,8 +18,14 @@ public:
Gtk::ComboBoxText m_encoding_mode;
Gtk::ComboBoxText m_signal;
Gtk::Scale m_bitrate;
+ Gtk::SpinButton m_gain;
private:
+ using type_signal_gain = sigc::signal<void(double)>;
+ type_signal_gain m_signal_gain;
+
+public:
+ type_signal_gain signal_gain();
};
#endif