Commit a748266b authored by David Fuhrmann's avatar David Fuhrmann

auhal: correctly fix channel ordering by setting the correct scope.

fixes #10125, #10199
parent aa7be6c0
......@@ -802,7 +802,7 @@ static int StartAnalog(audio_output_t *p_aout, audio_sample_format_t *fmt)
/* Set the new_layout as the layout VLC will use to feed the AU unit */
verify_noerr(AudioUnitSetProperty(p_sys->au_unit,
kAudioUnitProperty_AudioChannelLayout,
kAudioUnitScope_Output,
kAudioUnitScope_Input, /* yes, it must be the INPUT scope */
0, &new_layout, sizeof(new_layout)));
if (new_layout.mNumberChannelDescriptions > 0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment