From f53d73b9dc373a41ab535b247f6a2178783b2b82 Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 13 Jul 2016 17:07:06 +0200 Subject: ao_creoaudio: print OSStatus as decimal signed integer too OSStatus is quite inconsistent. Sometimes it's a FourCC, sometimes it reads as decimal signed number. --- audio/out/ao_coreaudio_utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'audio') diff --git a/audio/out/ao_coreaudio_utils.c b/audio/out/ao_coreaudio_utils.c index 0bcc0d62a1..76f5402fd1 100644 --- a/audio/out/ao_coreaudio_utils.c +++ b/audio/out/ao_coreaudio_utils.c @@ -147,7 +147,7 @@ bool check_ca_st(struct ao *ao, int level, OSStatus code, const char *message) { if (code == noErr) return true; - mp_msg(ao->log, level, "%s (%s)\n", message, mp_tag_str(code)); + mp_msg(ao->log, level, "%s (%s/%d)\n", message, mp_tag_str(code), (int)code); return false; } -- cgit v1.2.3