From 96eb48029934506899b0ee2de2e0036919ffa152 Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 21 Oct 2015 22:18:41 +0200 Subject: ao_coreaudio_exclusive: fix build "Let's apply cosmetic last minute changes without testing them." --- audio/out/ao_coreaudio_exclusive.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'audio/out') 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"); -- cgit v1.2.3