record: pick buffer handling from DDT

Origin commit data
------------------
Branch: ni/coolstream
Commit: 44d07ce8e2
Author: vanhofen <vanhofen@gmx.de>
Date: 2019-01-20 (Sun, 20 Jan 2019)

Origin message was:
------------------
- record: pick buffer handling from DDT

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2019-01-20 23:33:59 +01:00
parent 2b31b73443
commit 1790b7f716
8 changed files with 53 additions and 0 deletions

View File

@@ -255,6 +255,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