*neutrino infobar: add extra timeout setting for radiomode

moved single arrays named "default_timing" and "timing_setting_name" into
struct named "timing_setting"

This is a partial port from original Neutrino,
The default timeout for radiomode is 0 (no timeout), this timeout
has more sense e.g. with radiotext

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1504 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
thilo
2011-06-03 00:14:31 +00:00
parent 9609466f48
commit a512a15781
10 changed files with 59 additions and 40 deletions

View File

@@ -566,9 +566,9 @@ bool CConsoleDestChangeNotifier::changeNotify(const neutrino_locale_t, void * Da
bool CTimingSettingsNotifier::changeNotify(const neutrino_locale_t OptionName, void *)
{
for (int i = 0; i < TIMING_SETTING_COUNT; i++)
for (int i = 0; i < SNeutrinoSettings::TIMING_SETTING_COUNT; i++)
{
if (ARE_LOCALES_EQUAL(OptionName, timing_setting_name[i]))
if (ARE_LOCALES_EQUAL(OptionName, timing_setting[i].name))
{
g_settings.timing[i] = atoi(g_settings.timing_string[i]);
return true;