summaryrefslogtreecommitdiffstats
path: root/audio/out/ao_coreaudio_exclusive.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-10-21 22:18:41 +0200
committerwm4 <wm4@nowhere>2015-10-21 22:18:41 +0200
commit96eb48029934506899b0ee2de2e0036919ffa152 (patch)
treee854bb1d12c6cf7bc93160e293eccf4000df3dbb /audio/out/ao_coreaudio_exclusive.c
parent14bb3d06a2accbdb402d1972f7e9975fc850cf0e (diff)
downloadmpv-96eb48029934506899b0ee2de2e0036919ffa152.tar.bz2
mpv-96eb48029934506899b0ee2de2e0036919ffa152.tar.xz
ao_coreaudio_exclusive: fix build
"Let's apply cosmetic last minute changes without testing them."
Diffstat (limited to 'audio/out/ao_coreaudio_exclusive.c')
-rw-r--r--audio/out/ao_coreaudio_exclusive.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/audio/out/ao_coreaudio_exclusive.c b/audio/out/ao_coreaudio_exclusive.c
index c998ee825c..4d47ae356e 100644
--- a/audio/out/ao_coreaudio_exclusive.c
+++ b/audio/out/ao_coreaudio_exclusive.c
@@ -315,8 +315,8 @@ static int init(struct ao *ao)
ao->samplerate = p->stream_asbd.mSampleRate;
if (ao->channels.num != p->stream_asbd.mChannelsPerFrame) {
- ca_active_chmap(ao, p->device, p->stream_asbd.mChannelsPerFrame,
- &ao->channels);
+ ca_get_active_chmap(ao, p->device, p->stream_asbd.mChannelsPerFrame,
+ &ao->channels);
}
if (!ao->channels.num) {
MP_ERR(ao, "number of channels changed, and unknown channel layout!\n");