Added configurable error handlers.

This commit is contained in:
Jaroslav Kysela 2000-11-25 16:36:18 +00:00
parent 34c76ccf73
commit 49affda3a0
5 changed files with 29 additions and 15 deletions

View file

@ -36,15 +36,3 @@
#define ATTRIBUTE_UNUSED __attribute__ ((__unused__))
#endif
#define SND_DEV_TYPE_PCM 0
#define SND_DEV_TYPE_CONTROL 1
#define SND_DEV_TYPE_RAWMIDI 2
#define SND_DEV_TYPE_TIMER 3
#define SND_DEV_TYPE_HWDEP 4
#define SND_DEV_TYPE_SEQ 5
#define SND_TRANSPORT_TYPE_SHM 0
#define SND_TRANSPORT_TYPE_TCP 1
extern void snd_lib_error(const char *file, int line, const char *function, int err, const char *fmt, ...) __attribute__ ((weak, format (printf, 5, 6)));