add tooltip to vad combobox

This commit is contained in:
ouwou
2023-07-23 01:41:30 -04:00
parent 60e3f73324
commit 07fc439eb7

View File

@@ -137,6 +137,10 @@ VoiceWindow::VoiceWindow(Snowflake channel_id)
m_vad_combo.set_valign(Gtk::ALIGN_END);
m_vad_combo.set_hexpand(true);
m_vad_combo.set_halign(Gtk::ALIGN_FILL);
m_vad_combo.set_tooltip_text(
"Voice Activation Detection method\n"
"Gate - Simple volume threshold. Slider changes threshold\n"
"RNNoise - Heavier on CPU. Slider changes probability threshold");
m_vad_combo.append("gate", "Gate");
#ifdef WITH_RNNOISE
m_vad_combo.append("rnnoise", "RNNoise");