mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 08:51:04 +02:00
neutrino: Rename hardware defined macros for coolstream stb
BOXMODEL_NEVIS => BOXMODEL_CS_HD1
BOXMODEL_APOLLO => BOXMODEL_CS_HD2
Origin commit data
------------------
Commit: 0d66899cbd
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2017-02-12 (Sun, 12 Feb 2017)
Origin message was:
------------------
neutrino: Rename hardware defined macros for coolstream stb
BOXMODEL_NEVIS => BOXMODEL_CS_HD1
BOXMODEL_APOLLO => BOXMODEL_CS_HD2
This commit is contained in:
@@ -94,7 +94,7 @@ const CMenuOptionChooser::keyval AUDIOMENU_ANALOGOUT_OPTIONS[AUDIOMENU_ANALOGOUT
|
||||
{ 2, LOCALE_AUDIOMENU_MONORIGHT }
|
||||
};
|
||||
|
||||
#ifdef BOXMODEL_APOLLO
|
||||
#ifdef BOXMODEL_CS_HD2
|
||||
#define AUDIOMENU_SRS_OPTION_COUNT 3
|
||||
#else
|
||||
#define AUDIOMENU_SRS_OPTION_COUNT 2
|
||||
@@ -103,7 +103,7 @@ const CMenuOptionChooser::keyval AUDIOMENU_SRS_OPTIONS[AUDIOMENU_SRS_OPTION_COUN
|
||||
{
|
||||
{ 0 , LOCALE_AUDIO_SRS_ALGO_LIGHT },
|
||||
{ 1 , LOCALE_AUDIO_SRS_ALGO_NORMAL },
|
||||
#ifdef BOXMODEL_APOLLO
|
||||
#ifdef BOXMODEL_CS_HD2
|
||||
{ 2 , LOCALE_AUDIO_SRS_ALGO_HEAVY }
|
||||
#endif
|
||||
};
|
||||
@@ -229,7 +229,7 @@ int CAudioSetup::showAudioSetup()
|
||||
audioSettings->addItem(GenericMenuSeparatorLine);
|
||||
audioSettings->addItem(as_oj_srsonoff);
|
||||
audioSettings->addItem(as_oj_algo);
|
||||
#ifndef BOXMODEL_APOLLO
|
||||
#ifndef BOXMODEL_CS_HD2
|
||||
audioSettings->addItem(as_oj_noise);
|
||||
#endif
|
||||
audioSettings->addItem(as_oj_volrev);
|
||||
@@ -246,7 +246,7 @@ int CAudioSetup::showAudioSetup()
|
||||
int res = audioSettings->exec(NULL, "");
|
||||
selected = audioSettings->getSelected();
|
||||
delete audioSettings;
|
||||
#ifdef BOXMODEL_APOLLO
|
||||
#ifdef BOXMODEL_CS_HD2
|
||||
delete as_oj_noise;
|
||||
#endif
|
||||
if (!g_settings.easymenu)
|
||||
|
Reference in New Issue
Block a user