diff --git a/data/locale/deutsch.locale b/data/locale/deutsch.locale index 89ea744d5..a62831384 100644 --- a/data/locale/deutsch.locale +++ b/data/locale/deutsch.locale @@ -152,6 +152,7 @@ audiomenu.volume_adjustment Lautstärkeanpassung pro Kanal audiomenu.volume_adjustment_ac3 AC3-Tonspuren audiomenu.volume_adjustment_clear Gespeicherte Werte löschen audiomenu.volume_adjustment_pcm PCM-Tonspuren +audiomenu.volume_last_used zuletzt verwendet audiomenu.volume_start Einschaltlautstärke audiomenu.volume_step Lautstärke Schrittweite audioplayer.add Hinzufügen diff --git a/data/locale/english.locale b/data/locale/english.locale index eee7d0722..95ee10125 100644 --- a/data/locale/english.locale +++ b/data/locale/english.locale @@ -152,6 +152,7 @@ audiomenu.volume_adjustment Channel specific volume adjustment audiomenu.volume_adjustment_ac3 AC3 streams audiomenu.volume_adjustment_clear Clear saved values audiomenu.volume_adjustment_pcm PCM streams +audiomenu.volume_last_used last used audiomenu.volume_start Start volume audiomenu.volume_step Volume step audioplayer.add Add diff --git a/src/gui/audio_setup.cpp b/src/gui/audio_setup.cpp index 33e7ca9e4..294a6c6a9 100644 --- a/src/gui/audio_setup.cpp +++ b/src/gui/audio_setup.cpp @@ -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->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); //clock rec //CMenuOptionChooser * as_oj_clockrec new CMenuOptionChooser(LOCALE_AUDIOMENU_CLOCKREC, &g_settings.clockrec, AUDIOMENU_CLOCKREC_OPTIONS, AUDIOMENU_CLOCKREC_OPTION_COUNT, true, audioSetupNotifier); diff --git a/src/system/locals.h b/src/system/locals.h index 32e30f6bc..2ccac8297 100644 --- a/src/system/locals.h +++ b/src/system/locals.h @@ -179,6 +179,7 @@ typedef enum LOCALE_AUDIOMENU_VOLUME_ADJUSTMENT_AC3, LOCALE_AUDIOMENU_VOLUME_ADJUSTMENT_CLEAR, LOCALE_AUDIOMENU_VOLUME_ADJUSTMENT_PCM, + LOCALE_AUDIOMENU_VOLUME_LAST_USED, LOCALE_AUDIOMENU_VOLUME_START, LOCALE_AUDIOMENU_VOLUME_STEP, LOCALE_AUDIOPLAYER_ADD, diff --git a/src/system/locals_intern.h b/src/system/locals_intern.h index fb22835f7..7adf2b62c 100644 --- a/src/system/locals_intern.h +++ b/src/system/locals_intern.h @@ -179,6 +179,7 @@ const char * locale_real_names[] = "audiomenu.volume_adjustment_ac3", "audiomenu.volume_adjustment_clear", "audiomenu.volume_adjustment_pcm", + "audiomenu.volume_last_used", "audiomenu.volume_start", "audiomenu.volume_step", "audioplayer.add",