summaryrefslogtreecommitdiffstats
path: root/src/DabMultiplexer.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2016-04-15 10:50:59 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2016-04-15 10:50:59 +0200
commit97cbd6234058ce1514b5696609ee7bd1f8e6a761 (patch)
tree245cd0ccac28f6c1670da3223bcaf269cc8f8028 /src/DabMultiplexer.cpp
parentd4ab701073e4876aa3d2e5f6c883cebf08783ac4 (diff)
downloaddabmux-97cbd6234058ce1514b5696609ee7bd1f8e6a761.tar.gz
dabmux-97cbd6234058ce1514b5696609ee7bd1f8e6a761.tar.bz2
dabmux-97cbd6234058ce1514b5696609ee7bd1f8e6a761.zip
Replace DabService::program by function
Diffstat (limited to 'src/DabMultiplexer.cpp')
-rw-r--r--src/DabMultiplexer.cpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/DabMultiplexer.cpp b/src/DabMultiplexer.cpp
index c560c96..d9ba496 100644
--- a/src/DabMultiplexer.cpp
+++ b/src/DabMultiplexer.cpp
@@ -242,23 +242,6 @@ void DabMultiplexer::prepare_services_components()
throw MuxInitException();
}
- // Adjust service type from this first component
- switch (service->getType(ensemble)) {
- case subchannel_type_t::Audio: // Audio
- service->program = true;
- break;
- case subchannel_type_t::DataDmb:
- case subchannel_type_t::Fidc:
- case subchannel_type_t::Packet:
- service->program = false;
- break;
- default:
- etiLog.log(error,
- "Error, unknown service type: %u\n",
- service->getType(ensemble));
- throw MuxInitException();
- }
-
service->enrol_at(m_rc);
// Adjust components type for DAB+