aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2015-01-16 16:33:06 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2015-01-16 16:33:06 +0100
commit1b2552c8bbf136808d51aa144f056e433dcb7e4a (patch)
treeb0eaf2e75490b081b9210b9569b0e3ed86a82656 /src
parent9164c7e5fd57ed4f5d503c96c97125a90c335b00 (diff)
downloaddabmux-1b2552c8bbf136808d51aa144f056e433dcb7e4a.tar.gz
dabmux-1b2552c8bbf136808d51aa144f056e433dcb7e4a.tar.bz2
dabmux-1b2552c8bbf136808d51aa144f056e433dcb7e4a.zip
Change FIG0 repetition rate
Diffstat (limited to 'src')
-rw-r--r--src/DabMux.cpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/DabMux.cpp b/src/DabMux.cpp
index 1853da1..8ccebef 100644
--- a/src/DabMux.cpp
+++ b/src/DabMux.cpp
@@ -958,6 +958,8 @@ int main(int argc, char *argv[])
case 0:
case 4:
+ case 8:
+ case 12:
// FIG type 0/0, Multiplex Configuration Info (MCI),
// Ensemble information
fig0_0 = (FIGtype0_0 *) & etiFrame[index];
@@ -980,6 +982,9 @@ int main(int argc, char *argv[])
break;
case 1:
+ case 6:
+ case 10:
+ case 13:
// FIG type 0/1, MIC, Sub-Channel Organization,
// one instance of the part for each subchannel
figtype0_1 = (FIGtype0_1 *) & etiFrame[index];
@@ -1055,6 +1060,9 @@ int main(int argc, char *argv[])
break;
case 2:
+ case 9:
+ case 11:
+ case 14:
// FIG type 0/2, MCI, Service Organization, one instance of
// FIGtype0_2_Service for each subchannel
fig0_2 = NULL;
@@ -1643,6 +1651,7 @@ int main(int argc, char *argv[])
break;
case 5:
+ case 6:
// FIG 0 / 13
fig0 = NULL;
@@ -1956,7 +1965,7 @@ int main(int argc, char *argv[])
}
// counter for FIG 0/0
- insertFIG = (insertFIG + 1) % 8;
+ insertFIG = (insertFIG + 1) % 16;
// We rotate through the FIBs every 30 frames
rotateFIB = (rotateFIB + 1) % 30;