diff options
| author | KuntzeM <github@kuntze.email> | 2019-02-11 16:26:54 +0100 | 
|---|---|---|
| committer | KuntzeM <github@kuntze.email> | 2019-02-11 16:26:54 +0100 | 
| commit | 7eb97a486a8a39ef3986b9c2c7c452e9ccf2693a (patch) | |
| tree | 40cc6ec46894fe37b754f81c31783c0c08bde2b2 /src/fig/FIG0_24.cpp | |
| parent | a8cc30be9589280d9bde3ddaf676610c9b12af2a (diff) | |
| download | dabmux-7eb97a486a8a39ef3986b9c2c7c452e9ccf2693a.tar.gz dabmux-7eb97a486a8a39ef3986b9c2c7c452e9ccf2693a.tar.bz2 dabmux-7eb97a486a8a39ef3986b9c2c7c452e9ccf2693a.zip | |
fixed bug DAB with protection level EEP_A 1-4
Diffstat (limited to 'src/fig/FIG0_24.cpp')
| -rw-r--r-- | src/fig/FIG0_24.cpp | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/src/fig/FIG0_24.cpp b/src/fig/FIG0_24.cpp index 1441df2..960d261 100644 --- a/src/fig/FIG0_24.cpp +++ b/src/fig/FIG0_24.cpp @@ -93,7 +93,7 @@ FillStatus FIG0_24::fill(uint8_t *buf, size_t max_size)              }          } -        subchannel_type_t type = subchannel_type_t::Audio; +        subchannel_type_t type = subchannel_type_t::DABAudio;          bool isProgramme = true;          bool oe = true; @@ -107,7 +107,7 @@ FillStatus FIG0_24::fill(uint8_t *buf, size_t max_size)                  oe,                  serviceFIG0_24->service_id,                  m_inserting_audio_not_data ? "AUDIO" : "DATA", -                type == subchannel_type_t::Audio ? "Audio" : +                type == subchannel_type_t::DABAudio ? "Audio" :                  type == subchannel_type_t::Packet ? "Packet" :                  type == subchannel_type_t::DataDmb ? "DataDmb" :                  type == subchannel_type_t::Fidc ? "Fidc" : "?"); @@ -147,7 +147,7 @@ FillStatus FIG0_24::fill(uint8_t *buf, size_t max_size)              break;          } -        if (type == subchannel_type_t::Audio) { +        if (type == subchannel_type_t::DABAudio) {              auto fig0_2serviceAudio = (FIGtype0_24_audioservice*)buf;              fig0_2serviceAudio->SId = htons(serviceFIG0_24->service_id); | 
