diff options
Diffstat (limited to 'AlsaShutUp.c')
-rw-r--r-- | AlsaShutUp.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/AlsaShutUp.c b/AlsaShutUp.c new file mode 100644 index 0000000..1d38891 --- /dev/null +++ b/AlsaShutUp.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); } | ||