summaryrefslogtreecommitdiffstats
path: root/src/MuxElements.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/MuxElements.h')
-rw-r--r--src/MuxElements.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/MuxElements.h b/src/MuxElements.h
index 9895956..0f9fa18 100644
--- a/src/MuxElements.h
+++ b/src/MuxElements.h
@@ -144,18 +144,19 @@ struct dabProtection {
};
};
+enum dab_subchannel_type_t {
+ Audio = 0,
+ DataDmb = 1,
+ Fidc = 2,
+ Packet = 3
+};
struct dabSubchannel {
const char* inputProto;
const char* inputName;
DabInputBase* input;
unsigned char id;
- /* The type is:
- * 0 for mpeg, dabplus
- * 1 for data, dmb
- * 3 for packet
- */
- unsigned char type;
+ dab_subchannel_type_t type;
uint16_t startAddress;
uint16_t bitrate;
dabProtection protection;