1
0
mirror of https://github.com/Tha14/toxic.git synced 2026-01-25 18:13:16 +01:00

added /bitrate

This commit is contained in:
Daniel Hoffman
2017-06-29 22:26:06 +00:00
parent 922c184195
commit 2ede39369a
8 changed files with 66 additions and 12 deletions

View File

@@ -242,6 +242,7 @@ static void help_draw_chat(ToxWindow *self)
wprintw(win, " /sdev <type> <id> : Change active device\n");
wprintw(win, " /mute <type> : Mute active device if in call\n");
wprintw(win, " /sense <n> : VAD sensitivity threshold\n");
wprintw(win, " /bitrate <n> : Set the audio encoding bitrate\n");
#endif /* AUDIO */
#ifdef VIDEO
@@ -355,9 +356,9 @@ void help_onKey(ToxWindow *self, wint_t key)
case 'c':
#ifdef VIDEO
help_init_window(self, 22, 80);
help_init_window(self, 23, 80);
#elif AUDIO
help_init_window(self, 19, 80);
help_init_window(self, 20, 80);
#else
help_init_window(self, 10, 80);
#endif