From 97cbd6234058ce1514b5696609ee7bd1f8e6a761 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Fri, 15 Apr 2016 10:50:59 +0200 Subject: Replace DabService::program by function --- src/DabMultiplexer.cpp | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'src/DabMultiplexer.cpp') 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+ -- cgit v1.2.3