]> git.sesse.net Git - vlc/blobdiff - modules/audio_output/auhal.c
auhal: remove weird code duplication
[vlc] / modules / audio_output / auhal.c
index c8be64637178f96eb157852bf00cd86f5489afde..e36611e6e70a87c1a2892a519371fdd1c53de5b7 100644 (file)
@@ -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,