1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-06-27 13:06:45 +02:00

Properly close audio devices on quit

This commit is contained in:
Jfreegman
2015-11-12 17:14:10 -05:00
parent ab99c1ac73
commit 65c07a57db
2 changed files with 7 additions and 8 deletions

View File

@ -68,7 +68,7 @@ static void kill_infobox(ToxWindow *self);
#ifdef AUDIO
#define AC_NUM_CHAT_COMMANDS 30
#else
#define AC_NUM_CHAT_COMMANDS 23
#define AC_NUM_CHAT_COMMANDS 22
#endif /* AUDIO */
/* Array of chat command names used for tab completion. */
@ -95,7 +95,6 @@ static const char chat_cmd_list[AC_NUM_CHAT_COMMANDS][MAX_CMDNAME_SIZE] = {
{ "/savefile" },
{ "/sendfile" },
{ "/status" },
{ "/video" },
#ifdef AUDIO
@ -106,6 +105,7 @@ static const char chat_cmd_list[AC_NUM_CHAT_COMMANDS][MAX_CMDNAME_SIZE] = {
{ "/sdev" },
{ "/mute" },
{ "/sense" },
{ "/video" },
#endif /* AUDIO */
};