summaryrefslogtreecommitdiffstats
path: root/audio/out/ao_coreaudio.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-01-11 20:25:00 +0100
committerwm4 <wm4@nowhere>2016-01-11 20:25:00 +0100
commit9fee7077d483154e7c2ad9442d9e49bb5e7ad2bb (patch)
tree2c4f64f32ee12ae46872841106733b8eccd7b1de /audio/out/ao_coreaudio.c
parent30fd858e5e7fdec58da8c89b1aa3614d624891bd (diff)
downloadmpv-9fee7077d483154e7c2ad9442d9e49bb5e7ad2bb.tar.bz2
mpv-9fee7077d483154e7c2ad9442d9e49bb5e7ad2bb.tar.xz
ao_coreaudio: replace fourcc_repr()
Replace with the more general mp_tag_str().
Diffstat (limited to 'audio/out/ao_coreaudio.c')
-rw-r--r--audio/out/ao_coreaudio.c8
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);
}
}