mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
*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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user