diff options
Diffstat (limited to 'audio/out/ao_coreaudio.c')
-rw-r--r-- | audio/out/ao_coreaudio.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/audio/out/ao_coreaudio.c b/audio/out/ao_coreaudio.c index facbc601f6..471ab6d928 100644 --- a/audio/out/ao_coreaudio.c +++ b/audio/out/ao_coreaudio.c @@ -384,8 +384,8 @@ static int hotplug_init(struct ao *ao) err = AudioObjectAddPropertyListener( kAudioObjectSystemObject, &addr, hotplug_cb, (void *)ao); if (err != noErr) { - char *c1 = fourcc_repr(hotplug_properties[i]); - char *c2 = fourcc_repr(err); + char *c1 = mp_tag_str(hotplug_properties[i]); + char *c2 = mp_tag_str(err); MP_ERR(ao, "failed to set device listener %s (%s)", c1, c2); goto coreaudio_error; } @@ -409,8 +409,8 @@ static void hotplug_uninit(struct ao *ao) err = AudioObjectRemovePropertyListener( kAudioObjectSystemObject, &addr, hotplug_cb, (void *)ao); if (err != noErr) { - char *c1 = fourcc_repr(hotplug_properties[i]); - char *c2 = fourcc_repr(err); + char *c1 = mp_tag_str(hotplug_properties[i]); + char *c2 = mp_tag_str(err); MP_ERR(ao, "failed to set device listener %s (%s)", c1, c2); } } |