diff options
Diffstat (limited to 'audio/out/ao_coreaudio_utils.h')
-rw-r--r-- | audio/out/ao_coreaudio_utils.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/audio/out/ao_coreaudio_utils.h b/audio/out/ao_coreaudio_utils.h index 2e87cb472d..50498a969e 100644 --- a/audio/out/ao_coreaudio_utils.h +++ b/audio/out/ao_coreaudio_utils.h @@ -31,7 +31,9 @@ CFStringRef cfstr_from_cstr(char *str); char *cfstr_get_cstr(CFStringRef cfstr); -char *fourcc_repr(void *talloc_ctx, uint32_t code); +char *fourcc_repr_buf(char *buf, size_t buf_size, uint32_t code); +#define fourcc_repr(code) fourcc_repr_buf((char[40]){0}, 40, code) + bool check_ca_st(struct ao *ao, int level, OSStatus code, const char *message); #define CHECK_CA_ERROR_L(label, message) \ |