From a82f72eb04d4b5766f12d94febdf2f989ca7210a Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Thu, 17 Aug 2017 15:25:47 +0200 Subject: Add number of threads setting for MemlessPoly --- src/DabModulator.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/DabModulator.h') diff --git a/src/DabModulator.h b/src/DabModulator.h index 0c691dd..56a6f91 100644 --- a/src/DabModulator.h +++ b/src/DabModulator.h @@ -56,7 +56,9 @@ public: float& digGain, float normalise, float gainmodeVariance, const std::string& filterTapsFilename, - const std::string& polyCoefFilename); + const std::string& polyCoefFilename, + unsigned int polyNumThreads); + DabModulator(const DabModulator& other) = delete; DabModulator& operator=(const DabModulator& other) = delete; virtual ~DabModulator(); @@ -82,6 +84,7 @@ protected: OutputMemory* myOutput; std::string myFilterTapsFilename; std::string myPolyCoefFilename; + unsigned int myPolyNumThreads; tii_config_t& myTiiConfig; size_t myNbSymbols; -- cgit v1.2.3