summaryrefslogtreecommitdiffstats
path: root/src/DabMux.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2014-02-28 13:21:55 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2014-02-28 13:21:55 +0100
commit121059214ba508e9d51dc64b537eec7f44809d1c (patch)
treebf5e1cfdfe177a1fd4b839c7680749948634d3f2 /src/DabMux.h
parent438c177a21e10149fd947cc1611a078723aae6e6 (diff)
downloaddabmux-121059214ba508e9d51dc64b537eec7f44809d1c.tar.gz
dabmux-121059214ba508e9d51dc64b537eec7f44809d1c.tar.bz2
dabmux-121059214ba508e9d51dc64b537eec7f44809d1c.zip
Change FIG0/13 handling for MOT slideshow
Diffstat (limited to 'src/DabMux.h')
-rw-r--r--src/DabMux.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/DabMux.h b/src/DabMux.h
index 7bc9481..3c03add 100644
--- a/src/DabMux.h
+++ b/src/DabMux.h
@@ -311,6 +311,7 @@ struct FIG_01_SubChannel_LongF {
} PACKED;
+// See EN 300 401, Clause 8.1.20 for the FIG0_13 description
struct FIG0_13_shortAppInfo {
uint16_t SId;
uint8_t No:4;
@@ -333,8 +334,18 @@ struct FIG0_13_app {
typeHigh = type >> 3;
typeLow = type & 0x1f;
}
+ uint32_t xpad;
} PACKED;
+#define FIG0_13_APPTYPE_SLIDESHOW 0x2
+#define FIG0_13_APPTYPE_WEBSITE 0x3
+#define FIG0_13_APPTYPE_TPEG 0x4
+#define FIG0_13_APPTYPE_DGPS 0x5
+#define FIG0_13_APPTYPE_TMC 0x6
+#define FIG0_13_APPTYPE_EPG 0x7
+#define FIG0_13_APPTYPE_DABJAVA 0x8
+// 0x441 is Frauenhofer IIS Journaline
+
struct FIGtype1_0 {
uint8_t Length:5;