- record: pick buffer handling from DDT

neutrino will crash here

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2019-01-20 23:33:59 +01:00
committed by Thilo Graf
parent 5077121b12
commit ea457a8e92
8 changed files with 67 additions and 0 deletions

View File

@@ -247,6 +247,16 @@ int CRecordSetup::showRecordSetup()
cover->setHint("", LOCALE_MENU_HINT_RECORD_AUTO_COVER);
recordingSettings->addItem(cover);
#if HAVE_ARM_HARDWARE
CMenuOptionNumberChooser *ch;
ch = new CMenuOptionNumberChooser(LOCALE_EXTRA_RECORD_BUFSIZE, &g_settings.recording_bufsize, true, 1, 25, NULL);
ch->setNumberFormat("%d MB");
recordingSettings->addItem(ch);
ch = new CMenuOptionNumberChooser(LOCALE_EXTRA_RECORD_BUFSIZE_DMX, &g_settings.recording_bufsize_dmx, true, 1, 25, NULL);
ch->setNumberFormat("%d MB");
recordingSettings->addItem(ch);
#endif
recordingSettings->addItem(GenericMenuSeparatorLine);
//timeshift