ao_coreaudio_exclusive: fix build

"Let's apply cosmetic last minute changes without testing them."
This commit is contained in:
wm4
2015-10-21 22:18:41 +02:00
parent 14bb3d06a2
commit 96eb480299

View File

@@ -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");