Mark some local variables with 'static'.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27772 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
64ebe5f0d4
commit
de44ae7efc
1 changed files with 8 additions and 8 deletions
|
@ -184,17 +184,17 @@ static int tenthdb2reg(int db)
|
||||||
* by 12 dB after processing.
|
* by 12 dB after processing.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* all values in tenth of dB MAS3507D UDA1380 */
|
/* all values in tenth of dB MAS3507D UDA1380 */
|
||||||
int current_volume = 0; /* -780..+180 -840.. 0 */
|
static int current_volume = 0; /* -780..+180 -840.. 0 */
|
||||||
int current_balance = 0; /* -960..+960 -840..+840 */
|
static int current_balance = 0; /* -960..+960 -840..+840 */
|
||||||
#ifdef AUDIOHW_HAVE_TREBLE
|
#ifdef AUDIOHW_HAVE_TREBLE
|
||||||
int current_treble = 0; /* -150..+150 0.. +60 */
|
static int current_treble = 0; /* -150..+150 0.. +60 */
|
||||||
#endif
|
#endif
|
||||||
#ifdef AUDIOHW_HAVE_BASS
|
#ifdef AUDIOHW_HAVE_BASS
|
||||||
int current_bass = 0; /* -150..+150 0..+240 */
|
static int current_bass = 0; /* -150..+150 0..+240 */
|
||||||
#endif
|
#endif
|
||||||
#ifdef AUDIOHW_HAVE_EQ
|
#ifdef AUDIOHW_HAVE_EQ
|
||||||
int current_eq_band_gain[AUDIOHW_EQ_BAND_NUM];
|
static int current_eq_band_gain[AUDIOHW_EQ_BAND_NUM];
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static void set_prescaled_volume(void)
|
static void set_prescaled_volume(void)
|
||||||
|
@ -284,8 +284,8 @@ static void set_prescaled_volume(void)
|
||||||
|
|
||||||
|
|
||||||
#if (CONFIG_CODEC == MAS3587F) || (CONFIG_CODEC == MAS3539F)
|
#if (CONFIG_CODEC == MAS3587F) || (CONFIG_CODEC == MAS3539F)
|
||||||
unsigned long mdb_shape_shadow = 0;
|
static unsigned long mdb_shape_shadow = 0;
|
||||||
unsigned long loudness_shadow = 0;
|
static unsigned long loudness_shadow = 0;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
void sound_set_volume(int value)
|
void sound_set_volume(int value)
|
||||||
|
|
Loading…
Reference in a new issue