summaryrefslogtreecommitdiffstats
path: root/src/DabMultiplexer.cpp
diff options
context:
space:
mode:
authorStefan Pöschel <github@basicmaster.de>2015-07-26 14:21:16 +0200
committerStefan Pöschel <github@basicmaster.de>2015-07-26 14:21:16 +0200
commitb4823b1e44c42e137f85202621b07d01ccde111b (patch)
treee0b8344dcbef345e244a8578e58e14605b011589 /src/DabMultiplexer.cpp
parent394749e7f77286d1892f624e00f412296aaf1782 (diff)
downloaddabmux-b4823b1e44c42e137f85202621b07d01ccde111b.tar.gz
dabmux-b4823b1e44c42e137f85202621b07d01ccde111b.tar.bz2
dabmux-b4823b1e44c42e137f85202621b07d01ccde111b.zip
FIG 0/13: fixed wrongly set DG flag + removed CAOrg (as already indicated)
Diffstat (limited to 'src/DabMultiplexer.cpp')
-rw-r--r--src/DabMultiplexer.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/DabMultiplexer.cpp b/src/DabMultiplexer.cpp
index db158da..e79d3fa 100644
--- a/src/DabMultiplexer.cpp
+++ b/src/DabMultiplexer.cpp
@@ -1385,8 +1385,8 @@ void DabMultiplexer::mux_frame(std::vector<boost::shared_ptr<DabOutput> >& outpu
FIG0_13_app* app = (FIG0_13_app*)&etiFrame[index];
app->setType((*componentFIG0_13)->audio.uaType);
- app->length = 4;
- app->xpad = htonl(0x0cbc0000);
+ app->length = 2;
+ app->xpad = htons(0x0c3c);
/* xpad meaning
CA = 0
CAOrg = 0
@@ -1395,7 +1395,6 @@ void DabMultiplexer::mux_frame(std::vector<boost::shared_ptr<DabOutput> >& outpu
DG = 0 (MSC data groups used)
Rfu = 0
DSCTy(6) = 60 (MOT)
- CAOrg(16) = 0
*/
index += 2 + app->length;