[vlc-commits] auhal: remove weird code duplication

Felix Paul Kühne git at videolan.org
Sat Dec 15 19:35:24 CET 2012


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Sat Dec 15 19:35:04 2012 +0100| [727dbceb6f75fe0f8b96b073cdde7c5b6a8e5066] | committer: Felix Paul Kühne

auhal: remove weird code duplication

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=727dbceb6f75fe0f8b96b073cdde7c5b6a8e5066
---

 modules/audio_output/auhal.c |    3 ---
 1 file changed, 3 deletions(-)

diff --git a/modules/audio_output/auhal.c b/modules/audio_output/auhal.c
index c8be646..e36611e 100644
--- a/modules/audio_output/auhal.c
+++ b/modules/audio_output/auhal.c
@@ -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,



More information about the vlc-commits mailing list