]> git.sesse.net Git - vlc/commitdiff
auhal: remove weird code duplication
authorFelix Paul Kühne <fkuehne@videolan.org>
Sat, 15 Dec 2012 18:35:04 +0000 (19:35 +0100)
committerFelix Paul Kühne <fkuehne@videolan.org>
Sat, 15 Dec 2012 18:35:24 +0000 (19:35 +0100)
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,