diff options
Diffstat (limited to 'libasound.c')
-rw-r--r-- | libasound.c | 8 |
1 files changed, 8 insertions, 0 deletions
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; |