diff options
Diffstat (limited to 'src/DabModulator.cpp')
-rw-r--r-- | src/DabModulator.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/DabModulator.cpp b/src/DabModulator.cpp index f63ecd7..6c28a2e 100644 --- a/src/DabModulator.cpp +++ b/src/DabModulator.cpp @@ -157,7 +157,7 @@ int DabModulator::process(Buffer* const dataIn, Buffer* dataOut) //////////////////////////////////////////////////////////////// auto cifPrbs = make_shared<PrbsGenerator>(864 * 8, 0x110); auto cifMux = make_shared<FrameMultiplexer>( - myFicSizeOut + 864 * 8, &myEtiReader.getSubchannels()); + myFicSizeOut + 864 * 8, myEtiReader.getSubchannels()); auto cifPart = make_shared<BlockPartitioner>(mode, myEtiReader.getFp()); @@ -269,9 +269,7 @@ int DabModulator::process(Buffer* const dataIn, Buffer* dataOut) //////////////////////////////////////////////////////////////// // Configuring subchannels //////////////////////////////////////////////////////////////// - std::vector<shared_ptr<SubchannelSource> > subchannels = - myEtiReader.getSubchannels(); - for (const auto& subchannel : subchannels) { + for (const auto& subchannel : myEtiReader.getSubchannels()) { //////////////////////////////////////////////////////////// // Data initialisation |