zapit/audio_setup: add gui option for handling volume adjustment defaults

This commit is contained in:
martii
2013-06-21 10:39:46 +02:00
committed by Jacek Jendrzej
parent d7b496062c
commit 421da2c0cf
10 changed files with 106 additions and 9 deletions

View File

@@ -155,6 +155,10 @@ typedef enum
LOCALE_AUDIOMENU_SPDIF_DD,
LOCALE_AUDIOMENU_STEREO,
LOCALE_AUDIOMENU_VOLUME_ADJUST,
LOCALE_AUDIOMENU_VOLUME_ADJUSTMENT,
LOCALE_AUDIOMENU_VOLUME_ADJUSTMENT_AC3,
LOCALE_AUDIOMENU_VOLUME_ADJUSTMENT_CLEAR,
LOCALE_AUDIOMENU_VOLUME_ADJUSTMENT_PCM,
LOCALE_AUDIOMENU_VOLUME_START,
LOCALE_AUDIOMENU_VOLUME_STEP,
LOCALE_AUDIOPLAYER_ADD,
@@ -907,6 +911,9 @@ typedef enum
LOCALE_MENU_HINT_A_PIC,
LOCALE_MENU_HINT_APLAY,
LOCALE_MENU_HINT_AUDIO,
LOCALE_MENU_HINT_AUDIO_ADJUST_VOL_AC3,
LOCALE_MENU_HINT_AUDIO_ADJUST_VOL_CLEAR,
LOCALE_MENU_HINT_AUDIO_ADJUST_VOL_PCM,
LOCALE_MENU_HINT_AUDIO_ANALOG_MODE,
LOCALE_MENU_HINT_AUDIO_AVSYNC,
LOCALE_MENU_HINT_AUDIO_DD,

View File

@@ -155,6 +155,10 @@ const char * locale_real_names[] =
"audiomenu.spdif_dd",
"audiomenu.stereo",
"audiomenu.volume_adjust",
"audiomenu.volume_adjustment",
"audiomenu.volume_adjustment_ac3",
"audiomenu.volume_adjustment_clear",
"audiomenu.volume_adjustment_pcm",
"audiomenu.volume_start",
"audiomenu.volume_step",
"audioplayer.add",
@@ -907,6 +911,9 @@ const char * locale_real_names[] =
"menu.hint_a_pic",
"menu.hint_aplay",
"menu.hint_audio",
"menu.hint_audio_adjust_vol_ac3",
"menu.hint_audio_adjust_vol_clear",
"menu.hint_audio_adjust_vol_pcm",
"menu.hint_audio_analog_mode",
"menu.hint_audio_avsync",
"menu.hint_audio_dd",

View File

@@ -120,6 +120,8 @@ struct SNeutrinoSettings
int video_43mode;
#ifdef BOXMODEL_APOLLO
int brightness;
int audio_volume_percent_ac3;
int audio_volume_percent_pcm;
int contrast;
int saturation;
int enable_sd_osd;