From 45e2f38a19cea2d0f5fe6da5c783358a613ed916 Mon Sep 17 00:00:00 2001 From: Oliver Schinagl Date: Thu, 6 Jan 2005 14:07:25 +0000 Subject: We need to initialize the gain level and the position so it looks pretty. Hence we init the gain where we also 'change' it later. So we removed the parameter here. A better design choice would have been to add two functions here to set volume and gain. TODO? --- Graphic_Equalizer/include/audio.hch | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Graphic_Equalizer/include/audio.hch b/Graphic_Equalizer/include/audio.hch index 988ef59..e9362f9 100644 --- a/Graphic_Equalizer/include/audio.hch +++ b/Graphic_Equalizer/include/audio.hch @@ -67,11 +67,11 @@ typedef struct { /* - * Initialize the Audio sub-system. gain_level sets the internal amplifier to - * passed level, input_source chooses between line in or mic in. The - * sample_rate is set to supplied rate. Defines for these are mentioned above. + * Initialize the Audio sub-system. Input_source chooses between line in or mic + * in. The sample_rate is set to supplied rate. Defines for these are mentioned + * above. */ -macro proc audio_init(gain_level, input_source, sample_rate, AUDIOIN, AUDIOOUT); +macro proc audio_init(input_source, sample_rate, AUDIOIN, AUDIOOUT); -- cgit v0.12