aboutsummaryrefslogtreecommitdiffstats
path: root/src/MemlessPoly.h
diff options
context:
space:
mode:
authorandreas128 <Andreas>2017-08-17 16:28:35 +0200
committerandreas128 <Andreas>2017-08-17 16:28:35 +0200
commita8b1aa0b60a1f5bf884069091d0f43b12c521bb8 (patch)
treec1a670f026215797f97c1acc7298c5ad7e05f85e /src/MemlessPoly.h
parent4fe5b4cacad22c84110061cb1cce4c0cf29b79fa (diff)
parentfe62dff97924c045affe10da2e896e29e10e6aed (diff)
downloaddabmod-a8b1aa0b60a1f5bf884069091d0f43b12c521bb8.tar.gz
dabmod-a8b1aa0b60a1f5bf884069091d0f43b12c521bb8.tar.bz2
dabmod-a8b1aa0b60a1f5bf884069091d0f43b12c521bb8.zip
Merge branch 'next_memless' of github.com:Opendigitalradio/ODR-DabMod into next_memless
Diffstat (limited to 'src/MemlessPoly.h')
-rw-r--r--src/MemlessPoly.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/MemlessPoly.h b/src/MemlessPoly.h
index 9fe19d7..b7fd81e 100644
--- a/src/MemlessPoly.h
+++ b/src/MemlessPoly.h
@@ -52,7 +52,7 @@ typedef std::complex<float> complexf;
class MemlessPoly : public PipelinedModCodec, public RemoteControllable
{
public:
- MemlessPoly(const std::string& coefs_file);
+ MemlessPoly(const std::string& coefs_file, unsigned int num_threads);
virtual const char* name() { return "MemlessPoly"; }
@@ -67,6 +67,7 @@ private:
int internal_process(Buffer* const dataIn, Buffer* dataOut);
void load_coefficients(const std::string &coefFile);
+ unsigned int m_num_threads;
std::vector<complexf> m_coefs;
std::string m_coefs_file;
mutable std::mutex m_coefs_mutex;