config.def.h (962 bytes)
1 #define RESAMPLEQUALITY SOXR_QQ 2 #define BITRATE 48000 3 #define BITDEPTH 16 4 #define CHANNELS 2 5 #define SOUNDSYS ALSA 6 7 /* 8 Only need to edit below this line if you have multiple sound backends. 9 Only the backend selected by SOUNDSYS is linked; see OUTOBJ in Makefile. 10 */ 11 12 Outputcfg outputcfgs[] = { 13 #if SOUNDSYS == SNDIO 14 {.name = "sndio", 15 .fmt = {.bits = BITDEPTH, .rate = BITRATE, .channels = CHANNELS}, 16 .enabled = 1, 17 .output = &sndiooutput}, 18 #endif 19 #if SOUNDSYS == ALSA 20 {.name = "alsa", 21 .fmt = {.bits = BITDEPTH, .rate = BITRATE, .channels = CHANNELS}, 22 .enabled = 1, 23 .output = &alsaoutput}, 24 #endif 25 #if SOUNDSYS == OSS 26 {.name = "oss", 27 .fmt = {.bits = BITDEPTH, .rate = BITRATE, .channels = CHANNELS}, 28 .enabled = 1, 29 .output = &ossoutput}, 30 #endif 31 {.name = "fifo", 32 .fmt = {.bits = BITDEPTH, .rate = BITRATE, .channels = CHANNELS}, 33 .enabled = SOUNDSYS == FIFO, 34 .output = &fifooutput}, 35 };