From dc56726f762bad7a836cdcc7de18fd2357eec06c Mon Sep 17 00:00:00 2001 From: Jari Vetoniemi Date: Mon, 29 Oct 2018 01:46:47 +0200 Subject: snd_lib_error crap, fixes dolphin-emu \o/ --- libasound.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'libasound.c') diff --git a/libasound.c b/libasound.c index 0ac3611..cab65fe 100644 --- a/libasound.c +++ b/libasound.c @@ -38,6 +38,14 @@ snd_strerror(int errnum) return "^"; } +snd_lib_error_handler_t snd_lib_error; + +int snd_lib_error_set_handler(snd_lib_error_handler_t handler) +{ + snd_lib_error = handler; + return 0; +} + struct _snd_config { char noop; } s_snd_config; struct _snd_config *snd_config = &s_snd_config; -- cgit v1.2.3