From 7eb97a486a8a39ef3986b9c2c7c452e9ccf2693a Mon Sep 17 00:00:00 2001 From: KuntzeM Date: Mon, 11 Feb 2019 16:26:54 +0100 Subject: fixed bug DAB with protection level EEP_A 1-4 --- src/ConfigParser.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/ConfigParser.cpp') diff --git a/src/ConfigParser.cpp b/src/ConfigParser.cpp index f51eb03..0bf3070 100644 --- a/src/ConfigParser.cpp +++ b/src/ConfigParser.cpp @@ -874,7 +874,12 @@ static void setup_subchannel_from_ptree(shared_ptr& subchan, subchan->inputUri = inputUri; if (type == "dabplus" or type == "audio") { - subchan->type = subchannel_type_t::Audio; + if(type == "dabplus") { + subchan->type = subchannel_type_t::DABPlusAudio; + } else { + subchan->type = subchannel_type_t::DABAudio; + } + subchan->bitrate = 0; if (proto == "file") { -- cgit v1.2.3