diff options
-rw-r--r-- | firmware/sound.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/firmware/sound.c b/firmware/sound.c index 4cc63f4583..bede18615a 100644 --- a/firmware/sound.c +++ b/firmware/sound.c | |||
@@ -184,17 +184,17 @@ static int tenthdb2reg(int db) | |||
184 | * by 12 dB after processing. | 184 | * by 12 dB after processing. |
185 | */ | 185 | */ |
186 | 186 | ||
187 | /* all values in tenth of dB MAS3507D UDA1380 */ | 187 | /* all values in tenth of dB MAS3507D UDA1380 */ |
188 | int current_volume = 0; /* -780..+180 -840.. 0 */ | 188 | static int current_volume = 0; /* -780..+180 -840.. 0 */ |
189 | int current_balance = 0; /* -960..+960 -840..+840 */ | 189 | static int current_balance = 0; /* -960..+960 -840..+840 */ |
190 | #ifdef AUDIOHW_HAVE_TREBLE | 190 | #ifdef AUDIOHW_HAVE_TREBLE |
191 | int current_treble = 0; /* -150..+150 0.. +60 */ | 191 | static int current_treble = 0; /* -150..+150 0.. +60 */ |
192 | #endif | 192 | #endif |
193 | #ifdef AUDIOHW_HAVE_BASS | 193 | #ifdef AUDIOHW_HAVE_BASS |
194 | int current_bass = 0; /* -150..+150 0..+240 */ | 194 | static int current_bass = 0; /* -150..+150 0..+240 */ |
195 | #endif | 195 | #endif |
196 | #ifdef AUDIOHW_HAVE_EQ | 196 | #ifdef AUDIOHW_HAVE_EQ |
197 | int current_eq_band_gain[AUDIOHW_EQ_BAND_NUM]; | 197 | static int current_eq_band_gain[AUDIOHW_EQ_BAND_NUM]; |
198 | #endif | 198 | #endif |
199 | 199 | ||
200 | static void set_prescaled_volume(void) | 200 | static void set_prescaled_volume(void) |
@@ -284,8 +284,8 @@ static void set_prescaled_volume(void) | |||
284 | 284 | ||
285 | 285 | ||
286 | #if (CONFIG_CODEC == MAS3587F) || (CONFIG_CODEC == MAS3539F) | 286 | #if (CONFIG_CODEC == MAS3587F) || (CONFIG_CODEC == MAS3539F) |
287 | unsigned long mdb_shape_shadow = 0; | 287 | static unsigned long mdb_shape_shadow = 0; |
288 | unsigned long loudness_shadow = 0; | 288 | static unsigned long loudness_shadow = 0; |
289 | #endif | 289 | #endif |
290 | 290 | ||
291 | void sound_set_volume(int value) | 291 | void sound_set_volume(int value) |