summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Schinagl <oliver@schinagl.nl>2005-01-06 14:07:25 (GMT)
committerOliver Schinagl <oliver@schinagl.nl>2005-01-06 14:07:25 (GMT)
commit45e2f38a19cea2d0f5fe6da5c783358a613ed916 (patch)
tree67b3e0e5342ab741ebce1566b4a463efe3919baa
parentf20c42b25c076d4a9fb6b4533cf996b693c44c55 (diff)
downloadTASS-45e2f38a19cea2d0f5fe6da5c783358a613ed916.zip
TASS-45e2f38a19cea2d0f5fe6da5c783358a613ed916.tar.gz
TASS-45e2f38a19cea2d0f5fe6da5c783358a613ed916.tar.bz2
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?
-rw-r--r--Graphic_Equalizer/include/audio.hch8
1 files 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);