Ticket #341: alsa_error_handler.patch
| File alsa_error_handler.patch, 0.6 KB (added by ed@…, 4 years ago) |
|---|
-
src/modules/alsa-util.c
944 944 } 945 945 946 946 static void alsa_error_handler(const char *file, int line, const char *function, int err, const char *fmt,...) { 947 char alsa_file[80]; 947 948 va_list ap; 948 949 950 pa_snprintf(alsa_file, sizeof(alsa_file), "(alsa-lib) %s", file); 951 949 952 va_start(ap, fmt); 950 953 951 pa_log_levelv_meta(PA_LOG_WARN, file, line, function, fmt, ap);954 pa_log_levelv_meta(PA_LOG_WARN, alsa_file, line, function, fmt, ap); 952 955 953 956 va_end(ap); 954 957 }
