diff options
Diffstat (limited to 'src/ConfigParser.cpp')
-rw-r--r-- | src/ConfigParser.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/ConfigParser.cpp b/src/ConfigParser.cpp index 07aee0e..62d81c7 100644 --- a/src/ConfigParser.cpp +++ b/src/ConfigParser.cpp @@ -880,7 +880,12 @@ static void setup_subchannel_from_ptree(shared_ptr<DabSubchannel>& 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") { |