summaryrefslogtreecommitdiffstats
path: root/src/DabMultiplexer.cpp
diff options
context:
space:
mode:
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+