From 0bd09da5702a27bf1604dc19ea29a972271f774d Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Thu, 1 Aug 2013 16:47:36 +0200 Subject: ao_coreaudio: move to new log API --- audio/out/ao_coreaudio_properties.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'audio/out/ao_coreaudio_properties.c') diff --git a/audio/out/ao_coreaudio_properties.c b/audio/out/ao_coreaudio_properties.c index 300f27a8f0..67287e7427 100644 --- a/audio/out/ao_coreaudio_properties.c +++ b/audio/out/ao_coreaudio_properties.c @@ -60,13 +60,13 @@ OSStatus ca_get_ary(AudioObjectID id, ca_scope scope, ca_sel selector, }; err = AudioObjectGetPropertyDataSize(id, &p_addr, 0, NULL, &p_size); - CHECK_CA_ERROR("can't fetch property size"); + CHECK_CA_ERROR_SILENT_L(coreaudio_error); *data = talloc_size(NULL, p_size); *elements = p_size / element_size; err = ca_get(id, scope, selector, p_size, *data); - CHECK_CA_ERROR_L(coreaudio_error_free, "can't fetch property data"); + CHECK_CA_ERROR_SILENT_L(coreaudio_error_free); return err; coreaudio_error_free: @@ -81,7 +81,7 @@ OSStatus ca_get_str(AudioObjectID id, ca_scope scope, ca_sel selector, CFStringRef string; OSStatus err = ca_get(id, scope, selector, sizeof(CFStringRef), (void **)&string); - CHECK_CA_ERROR("Can't fetch string property"); + CHECK_CA_ERROR_SILENT_L(coreaudio_error); CFIndex size = CFStringGetMaximumSizeForEncoding( -- cgit v1.2.3