|
|
Rockbox mail archiveSubject: Re: Pitch screen UIRe: Pitch screen UI
From: David Johnston <david_at_pinkandaint.com>
Date: Sat, 20 Jun 2009 14:48:46 -0700
Okay, after a little exploring I haven't found any further answers, so let
How can I modify an entry in global_settings and have that be persistent --
I've found other places in the code where the same problem occurs as the one
Here's the code that decrements the AGC setting in the record screen:
---
case ITEM_AGC_MODE:
agc_preset = MAX(agc_preset - 1, 0);
agc_enable = (agc_preset != 0);
#ifdef HAVE_MIC_REC
if (global_settings.rec_source == AUDIO_SRC_MIC) {
global_settings.rec_agc_preset_mic = agc_preset;
agc_maxgain =
global_settings.rec_agc_maxgain_mic;
} else
#endif /* MIC */
{
global_settings.rec_agc_preset_line = agc_preset;
agc_maxgain =
global_settings.rec_agc_maxgain_line;
}
---
Somehow the menu system lets Rockbox know that settings have changed, but
just changing a value in global_settings doesn't.
Received on 2009-06-20
Page was last modified "Jan 10 2012" The Rockbox Crew |