diff options
author | wm4 <wm4@nowhere> | 2015-10-21 22:18:41 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-10-21 22:18:41 +0200 |
commit | 96eb48029934506899b0ee2de2e0036919ffa152 (patch) | |
tree | e854bb1d12c6cf7bc93160e293eccf4000df3dbb | |
parent | 14bb3d06a2accbdb402d1972f7e9975fc850cf0e (diff) | |
download | mpv-96eb48029934506899b0ee2de2e0036919ffa152.tar.bz2 mpv-96eb48029934506899b0ee2de2e0036919ffa152.tar.xz |
ao_coreaudio_exclusive: fix build
"Let's apply cosmetic last minute changes without testing them."
-rw-r--r-- | audio/out/ao_coreaudio_exclusive.c | 4 |
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"); |