gui/audio_setup.cpp: add 'heavy' srs algo on apollo

This commit is contained in:
[CST] Focus
2013-05-15 09:29:29 +04:00
parent 8cd93f64f1
commit 34a87975a0
4 changed files with 11 additions and 1 deletions

View File

@@ -98,6 +98,7 @@ GENRE.TRAVEL_HOBBIES.7 gardening
GENRE.UNKNOWN unknown GENRE.UNKNOWN unknown
apidselector.head Select language apidselector.head Select language
audio.srs_algo Type audio.srs_algo Type
audio.srs_algo_heavy Light
audio.srs_algo_light Light audio.srs_algo_light Light
audio.srs_algo_normal Normal audio.srs_algo_normal Normal
audio.srs_iq SRS TruVolume algo audio.srs_iq SRS TruVolume algo

View File

@@ -87,11 +87,18 @@ const CMenuOptionChooser::keyval AUDIOMENU_ANALOGOUT_OPTIONS[AUDIOMENU_ANALOGOUT
{ 2, LOCALE_AUDIOMENU_MONORIGHT } { 2, LOCALE_AUDIOMENU_MONORIGHT }
}; };
#ifdef BOXMODEL_APOLLO
#define AUDIOMENU_SRS_OPTION_COUNT 3
#else
#define AUDIOMENU_SRS_OPTION_COUNT 2 #define AUDIOMENU_SRS_OPTION_COUNT 2
#endif
const CMenuOptionChooser::keyval AUDIOMENU_SRS_OPTIONS[AUDIOMENU_SRS_OPTION_COUNT] = const CMenuOptionChooser::keyval AUDIOMENU_SRS_OPTIONS[AUDIOMENU_SRS_OPTION_COUNT] =
{ {
{ 0 , LOCALE_AUDIO_SRS_ALGO_LIGHT }, { 0 , LOCALE_AUDIO_SRS_ALGO_LIGHT },
{ 1 , LOCALE_AUDIO_SRS_ALGO_NORMAL } { 1 , LOCALE_AUDIO_SRS_ALGO_NORMAL },
#ifdef BOXMODEL_APOLLO
{ 2 , LOCALE_AUDIO_SRS_ALGO_HEAVY }
#endif
}; };
#define AUDIOMENU_AVSYNC_OPTION_COUNT 3 #define AUDIOMENU_AVSYNC_OPTION_COUNT 3

View File

@@ -125,6 +125,7 @@ typedef enum
LOCALE_GENRE_UNKNOWN, LOCALE_GENRE_UNKNOWN,
LOCALE_APIDSELECTOR_HEAD, LOCALE_APIDSELECTOR_HEAD,
LOCALE_AUDIO_SRS_ALGO, LOCALE_AUDIO_SRS_ALGO,
LOCALE_AUDIO_SRS_ALGO_HEAVY,
LOCALE_AUDIO_SRS_ALGO_LIGHT, LOCALE_AUDIO_SRS_ALGO_LIGHT,
LOCALE_AUDIO_SRS_ALGO_NORMAL, LOCALE_AUDIO_SRS_ALGO_NORMAL,
LOCALE_AUDIO_SRS_IQ, LOCALE_AUDIO_SRS_IQ,

View File

@@ -125,6 +125,7 @@ const char * locale_real_names[] =
"GENRE.UNKNOWN", "GENRE.UNKNOWN",
"apidselector.head", "apidselector.head",
"audio.srs_algo", "audio.srs_algo",
"audio.srs_algo_heavy",
"audio.srs_algo_light", "audio.srs_algo_light",
"audio.srs_algo_normal", "audio.srs_algo_normal",
"audio.srs_iq", "audio.srs_iq",