locales: more precise setting for startup volume in audio settings

This commit is contained in:
2018-02-14 11:34:49 +01:00
parent 456cdea0f3
commit d08eae1a9c
5 changed files with 6 additions and 1 deletions

View File

@@ -152,6 +152,7 @@ audiomenu.volume_adjustment Lautstärkeanpassung pro Kanal
audiomenu.volume_adjustment_ac3 AC3-Tonspuren audiomenu.volume_adjustment_ac3 AC3-Tonspuren
audiomenu.volume_adjustment_clear Gespeicherte Werte löschen audiomenu.volume_adjustment_clear Gespeicherte Werte löschen
audiomenu.volume_adjustment_pcm PCM-Tonspuren audiomenu.volume_adjustment_pcm PCM-Tonspuren
audiomenu.volume_last_used zuletzt verwendet
audiomenu.volume_start Einschaltlautstärke audiomenu.volume_start Einschaltlautstärke
audiomenu.volume_step Lautstärke Schrittweite audiomenu.volume_step Lautstärke Schrittweite
audioplayer.add Hinzufügen audioplayer.add Hinzufügen

View File

@@ -152,6 +152,7 @@ audiomenu.volume_adjustment Channel specific volume adjustment
audiomenu.volume_adjustment_ac3 AC3 streams audiomenu.volume_adjustment_ac3 AC3 streams
audiomenu.volume_adjustment_clear Clear saved values audiomenu.volume_adjustment_clear Clear saved values
audiomenu.volume_adjustment_pcm PCM streams audiomenu.volume_adjustment_pcm PCM streams
audiomenu.volume_last_used last used
audiomenu.volume_start Start volume audiomenu.volume_start Start volume
audiomenu.volume_step Volume step audiomenu.volume_step Volume step
audioplayer.add Add audioplayer.add Add

View File

@@ -177,7 +177,8 @@ int CAudioSetup::showAudioSetup()
as_oj_vsteps = new CMenuOptionNumberChooser(LOCALE_AUDIOMENU_VOLUME_STEP, (int *)&g_settings.current_volume_step, true, 1, 25, NULL); as_oj_vsteps = new CMenuOptionNumberChooser(LOCALE_AUDIOMENU_VOLUME_STEP, (int *)&g_settings.current_volume_step, true, 1, 25, NULL);
as_oj_vsteps->setHint("", LOCALE_MENU_HINT_AUDIO_VOLSTEP); as_oj_vsteps->setHint("", LOCALE_MENU_HINT_AUDIO_VOLSTEP);
st = new CMenuOptionNumberChooser(LOCALE_AUDIOMENU_VOLUME_START, &g_settings.start_volume, true, -1, 100, NULL, CRCInput::RC_nokey, NULL, 0, -1, LOCALE_OPTIONS_OFF); //volume after start
st = new CMenuOptionNumberChooser(LOCALE_AUDIOMENU_VOLUME_START, &g_settings.start_volume, true, -1, 100, NULL, CRCInput::RC_nokey, NULL, 0, -1, LOCALE_AUDIOMENU_VOLUME_LAST_USED);
st->setHint("", LOCALE_MENU_HINT_AUDIO_VOLSTART); st->setHint("", LOCALE_MENU_HINT_AUDIO_VOLSTART);
//clock rec //clock rec
//CMenuOptionChooser * as_oj_clockrec new CMenuOptionChooser(LOCALE_AUDIOMENU_CLOCKREC, &g_settings.clockrec, AUDIOMENU_CLOCKREC_OPTIONS, AUDIOMENU_CLOCKREC_OPTION_COUNT, true, audioSetupNotifier); //CMenuOptionChooser * as_oj_clockrec new CMenuOptionChooser(LOCALE_AUDIOMENU_CLOCKREC, &g_settings.clockrec, AUDIOMENU_CLOCKREC_OPTIONS, AUDIOMENU_CLOCKREC_OPTION_COUNT, true, audioSetupNotifier);

View File

@@ -179,6 +179,7 @@ typedef enum
LOCALE_AUDIOMENU_VOLUME_ADJUSTMENT_AC3, LOCALE_AUDIOMENU_VOLUME_ADJUSTMENT_AC3,
LOCALE_AUDIOMENU_VOLUME_ADJUSTMENT_CLEAR, LOCALE_AUDIOMENU_VOLUME_ADJUSTMENT_CLEAR,
LOCALE_AUDIOMENU_VOLUME_ADJUSTMENT_PCM, LOCALE_AUDIOMENU_VOLUME_ADJUSTMENT_PCM,
LOCALE_AUDIOMENU_VOLUME_LAST_USED,
LOCALE_AUDIOMENU_VOLUME_START, LOCALE_AUDIOMENU_VOLUME_START,
LOCALE_AUDIOMENU_VOLUME_STEP, LOCALE_AUDIOMENU_VOLUME_STEP,
LOCALE_AUDIOPLAYER_ADD, LOCALE_AUDIOPLAYER_ADD,

View File

@@ -179,6 +179,7 @@ const char * locale_real_names[] =
"audiomenu.volume_adjustment_ac3", "audiomenu.volume_adjustment_ac3",
"audiomenu.volume_adjustment_clear", "audiomenu.volume_adjustment_clear",
"audiomenu.volume_adjustment_pcm", "audiomenu.volume_adjustment_pcm",
"audiomenu.volume_last_used",
"audiomenu.volume_start", "audiomenu.volume_start",
"audiomenu.volume_step", "audiomenu.volume_step",
"audioplayer.add", "audioplayer.add",