Commit 727dbceb authored by Felix Paul Kühne's avatar Felix Paul Kühne

auhal: remove weird code duplication

parent a40a9439
......@@ -559,9 +559,6 @@ static int OpenAnalog(audio_output_t *p_aout, audio_sample_format_t *fmt)
kAudioUnitScope_Input,
0, &input, sizeof(input)));
input.inputProc = (AURenderCallback) RenderCallbackAnalog;
input.inputProcRefCon = p_aout;
/* Set the new_layout as the layout VLC will use to feed the AU unit */
verify_noerr(AudioUnitSetProperty(p_sys->au_unit,
kAudioUnitProperty_AudioChannelLayout,
......
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