From fafba594214bf9c9bedb8c029623eb008fb78440 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Thu, 17 Mar 2022 17:15:47 +0100 Subject: Send FIG0/14 only for enhancedpacket subchannels --- src/ConfigParser.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/ConfigParser.cpp') diff --git a/src/ConfigParser.cpp b/src/ConfigParser.cpp index 1839316..eb30e3a 100644 --- a/src/ConfigParser.cpp +++ b/src/ConfigParser.cpp @@ -3,7 +3,7 @@ 2011, 2012 Her Majesty the Queen in Right of Canada (Communications Research Center Canada) - Copyright (C) 2020 + Copyright (C) 2022 Matthias P. Braendli, matthias.braendli@mpb.li http://www.opendigitalradio.org @@ -1077,8 +1077,8 @@ static void setup_subchannel_from_ptree(shared_ptr& subchan, subchan->type = subchannel_type_t::Packet; subchan->bitrate = DEFAULT_PACKET_BITRATE; - bool enhanced = (type == "enhancedpacket"); - subchan->input = make_shared(enhanced); + subchan->packet_enhanced = (type == "enhancedpacket"); + subchan->input = make_shared(subchan->packet_enhanced); } else { stringstream ss; -- cgit v1.2.3