From 1a5f51f80ca2151c8e7abf5b47ef049f91754800 Mon Sep 17 00:00:00 2001 From: BPanther Date: Tue, 25 Dec 2018 05:29:24 +0100 Subject: [PATCH] vusolo4k tuner fix --- libarmbox/dmx.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/libarmbox/dmx.cpp b/libarmbox/dmx.cpp index 400303f..1c7ea42 100644 --- a/libarmbox/dmx.cpp +++ b/libarmbox/dmx.cpp @@ -71,9 +71,17 @@ static const char *DMX_T[] = { /* this is the number of different cDemux() units, not the number of * /dev/dvb/.../demuxX devices! */ +#if BOXMODEL_VUSOLO4K +#define NUM_DEMUX 16 +#else #define NUM_DEMUX 4 +#endif /* the current source of each cDemux unit */ +#if BOXMODEL_VUSOLO4K +static int dmx_source[NUM_DEMUX] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }; +#else static int dmx_source[NUM_DEMUX] = { 0, 0, 0, 0 }; +#endif /* map the device numbers. */ #if BOXMODEL_VUSOLO4K