1 #include "alsa-oss-emul.h" 2 3 #if 1 4 #define DEBUG_POLL 5 #define DEBUG_SELECT 6 #ifdef NEW_MACRO_VARARGS 7 #define DEBUG(...) do { if (alsa_oss_debug) fprintf(stderr, __VA_ARGS__); } while (0) 8 #else /* !NEW_MACRO_VARARGS */ 9 #define DEBUG(args...) do { if (alsa_oss_debug) fprintf(stderr, ##args); } while (0) 10 #endif 11 #else 12 #ifdef NEW_MACRO_VARARGS 13 #define DEBUG(...) 14 #else /* !NEW_MACRO_VARARGS */ 15 #define DEBUG(args...) 16 #endif 17 #endif 18 19 extern int alsa_oss_debug; 20 extern snd_output_t *alsa_oss_debug_out;