aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/DabMux.cpp16
1 files changed, 9 insertions, 7 deletions
diff --git a/src/DabMux.cpp b/src/DabMux.cpp
index bf5bf59..4c92d90 100644
--- a/src/DabMux.cpp
+++ b/src/DabMux.cpp
@@ -609,21 +609,23 @@ int main(int argc, char *argv[])
printOutputs(outputs);
-
- /* Each iteration of the main loop creates one ETI frame */
-
- /* Used for FIG0/2 insertion */
+ /* These iterators are used to fill the respective FIG.
+ * It is necessary to cycle through all the FIGs that have
+ * to be transmitted because they do not fit in a single
+ * FIB.
+ *
+ * ETSI EN 300 799 Clauses 5.2 and 8.1
+ */
serviceProgFIG0_2 = ensemble->services.end();
serviceDataFIG0_2 = ensemble->services.end();
-
componentProgFIG0_8 = ensemble->components.end();
componentDataFIG0_8 = ensemble->components.end();
serviceFIG0_17 = ensemble->services.end();
-
- /* used for FIG0/1 insertion */
subchannelFIG0_1 = ensemble->subchannels.end();
+ /* Each iteration of the main loop creates one ETI frame */
+
for (currentFrame = 0; running; currentFrame++) {
if ((limit > 0) && (currentFrame >= limit)) {
break;