diff options
Diffstat (limited to 'alsa_shut_up.c')
-rw-r--r-- | alsa_shut_up.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/alsa_shut_up.c b/alsa_shut_up.c new file mode 100644 index 0000000..1d38891 --- /dev/null +++ b/alsa_shut_up.c | |||
@@ -0,0 +1,5 @@ | |||
1 | #include <stdarg.h> | ||
2 | #include <alsa/error.h> | ||
3 | |||
4 | void sufferInSilence(const char *file, int line, const char *function, int err, const char *fmt,...) { return; } | ||
5 | int alsaShutUp() { return snd_lib_error_set_handler(sufferInSilence); } | ||