aboutsummaryrefslogtreecommitdiffstats
path: root/src/DabModulator.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2016-12-25 14:11:26 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2016-12-25 14:11:26 +0100
commitb5fd4a6ab6ac92af2141233f802e71c861cd89f4 (patch)
tree1be362d5b0bbe9abe410a8647a5b79050846cbce /src/DabModulator.cpp
parente919a3b2cdfd22ac15b34d2212b46ec8650a5e71 (diff)
downloaddabmod-b5fd4a6ab6ac92af2141233f802e71c861cd89f4.tar.gz
dabmod-b5fd4a6ab6ac92af2141233f802e71c861cd89f4.tar.bz2
dabmod-b5fd4a6ab6ac92af2141233f802e71c861cd89f4.zip
Remove ModFormat
Diffstat (limited to 'src/DabModulator.cpp')
-rw-r--r--src/DabModulator.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/DabModulator.cpp b/src/DabModulator.cpp
index 6d22f2d..c96a763 100644
--- a/src/DabModulator.cpp
+++ b/src/DabModulator.cpp
@@ -62,7 +62,7 @@ DabModulator::DabModulator(
float& digGain, float normalise,
const std::string& filterTapsFilename
) :
- ModCodec(ModFormat(1), ModFormat(0)),
+ ModCodec(),
myOutputRate(outputRate),
myClockRate(clockRate),
myDabMode(dabMode),
@@ -131,9 +131,6 @@ void DabModulator::setMode(unsigned mode)
default:
throw std::runtime_error("DabModulator::setMode invalid mode size");
}
-
- myOutputFormat.size((size_t)((myNullSize + (myNbSymbols * mySymSize))
- * sizeof(complexf) / 2048000.0 * myOutputRate));
}