config.def.h (873B)
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 */ 10 11 #if SOUNDSYS == SNDIO 12 #define SNDIOON 1 13 #else 14 #define SNDIOON 0 15 #endif 16 #if SOUNDSYS == ALSA 17 #define ALSAON 1 18 #else 19 #define ALSAON 0 20 #endif 21 #if SOUNDSYS == FIFO 22 #define FIFOON 1 23 #else 24 #define FIFOON 0 25 #endif 26 27 Outputcfg outputcfgs[] = { 28 {.name = "sndio", 29 .fmt = {.bits = BITDEPTH, .rate = BITRATE, .channels = CHANNELS}, 30 .enabled = SNDIOON, 31 .output = &sndiooutput}, 32 {.name = "alsa", 33 .fmt = {.bits = BITDEPTH, .rate = BITRATE, .channels = CHANNELS}, 34 .enabled = ALSAON, 35 .output = &alsaoutput}, 36 {.name = "fifo", 37 .fmt = {.bits = BITDEPTH, .rate = BITRATE, .channels = CHANNELS}, 38 .enabled = FIFOON, 39 .output = &fifooutput}, 40 };