1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-07-04 16:26:46 +02:00

Allow toxic to compile without av

This commit is contained in:
mannol
2014-05-29 23:25:09 +02:00
parent 0c834b60f5
commit d18ba78d03
2 changed files with 21 additions and 2 deletions

View File

@ -20,7 +20,11 @@
*
*/
#define NUM_SETTINGS 6
#ifdef _SUPPORT_AUDIO
#define NUM_SETTINGS 6
#else
#define NUM_SETTINGS 4
#endif /* _SUPPORT_AUDIO */
/* holds user setting values */
struct user_settings {
@ -28,8 +32,11 @@ struct user_settings {
int alerts; /* boolean */
int time; /* 12 or 24 */
int colour_theme; /* boolean (0 for default toxic colours) */
#ifdef _SUPPORT_AUDIO
long int audio_in_dev;
long int audio_out_dev;
#endif /* _SUPPORT_AUDIO */
};
enum {