diff options
Diffstat (limited to 'src/DabMultiplexer.cpp')
| -rw-r--r-- | src/DabMultiplexer.cpp | 17 | 
1 files changed, 13 insertions, 4 deletions
| diff --git a/src/DabMultiplexer.cpp b/src/DabMultiplexer.cpp index 5763c8a..f56a4ff 100644 --- a/src/DabMultiplexer.cpp +++ b/src/DabMultiplexer.cpp @@ -276,7 +276,7 @@ void DabMultiplexer::prepare_services_components()              protection = &(*subchannel)->protection;              switch ((*subchannel)->type) { -                case subchannel_type_t::Audio: +                case subchannel_type_t::DABPlusAudio:                      {                          if (protection->form == EEP) {                              /* According to ETSI TS 102 563 Clause 7.1 FIC signalling: @@ -291,6 +291,15 @@ void DabMultiplexer::prepare_services_components()                          }                      }                      break; +                case subchannel_type_t::DABAudio: +                    { +                        if (protection->form == EEP) { +                            /* ASCTy change to 0x0, because DAB mp2 is using +                             */ +                            (*component)->type = 0x0; +                        } +                    } +                    break;                  case subchannel_type_t::DataDmb:                  case subchannel_type_t::Fidc:                  case subchannel_type_t::Packet: @@ -720,7 +729,7 @@ void DabMultiplexer::mux_frame(std::vector<std::shared_ptr<DabOutput> >& outputs          edi_time += chrono::seconds(1);      } -    /**********************************************************************  +    /**********************************************************************       ***********   Section FRPD   *****************************************       **********************************************************************/ @@ -748,7 +757,7 @@ void DabMultiplexer::mux_frame(std::vector<std::shared_ptr<DabOutput> >& outputs      }  #if HAVE_OUTPUT_EDI -    /**********************************************************************  +    /**********************************************************************       ***********   Finalise and send EDI   ********************************       **********************************************************************/ @@ -817,7 +826,7 @@ void DabMultiplexer::mux_frame(std::vector<std::shared_ptr<DabOutput> >& outputs  #endif // HAVE_OUTPUT_EDI  #if _DEBUG -    /**********************************************************************  +    /**********************************************************************       ***********   Output a small message *********************************       **********************************************************************/      if (currentFrame % 100 == 0) { | 
