pick mipsbox code from DDT, TangoCash and max10

Origin commit data
------------------
Commit: f3f0bdaddb
Author: vanhofen <vanhofen@gmx.de>
Date: 2019-05-03 (Fri, 03 May 2019)

Origin message was:
------------------
- pick mipsbox code from DDT, TangoCash and max10
This commit is contained in:
vanhofen
2019-05-03 22:50:45 +02:00
parent 80a7e04688
commit f02215466f
25 changed files with 103 additions and 54 deletions

View File

@@ -178,7 +178,7 @@ void CRecordInstance::WaitRecMsg(time_t StartTime, time_t WaitTime)
usleep(100000);
}
#if HAVE_ARM_HARDWARE
#if HAVE_ARM_HARDWARE || HAVE_MIPS_HARDWARE
void recordingFailureHelper(void *data)
{
CRecordInstance *inst = (CRecordInstance *) data;
@@ -279,7 +279,7 @@ record_error_msg_t CRecordInstance::Start(CZapitChannel * channel)
if (record == NULL)
{
#if HAVE_ARM_HARDWARE
#if HAVE_ARM_HARDWARE || HAVE_MIPS_HARDWARE
record = new cRecord(channel->getRecordDemux(), g_settings.recording_bufsize_dmx * 1024 * 1024, g_settings.recording_bufsize * 1024 * 1024);
record->setFailureCallback(&recordingFailureHelper, this);
#else