aboutsummaryrefslogtreecommitdiffstats
path: root/src/BlockPartitioner.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2018-01-28 07:19:54 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2018-01-28 07:19:54 +0100
commita1995ea7ffd6783a8445e72f12fcc92d09287c2b (patch)
tree301a50e2a6bfbfee546fb3467f2d5f701e462e2d /src/BlockPartitioner.h
parentaddfba670d14c837084894f8cc5a64f47f296051 (diff)
downloaddabmod-a1995ea7ffd6783a8445e72f12fcc92d09287c2b.tar.gz
dabmod-a1995ea7ffd6783a8445e72f12fcc92d09287c2b.tar.bz2
dabmod-a1995ea7ffd6783a8445e72f12fcc92d09287c2b.zip
Make blocks assume FP is 0 at initialisation
Diffstat (limited to 'src/BlockPartitioner.h')
-rw-r--r--src/BlockPartitioner.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/BlockPartitioner.h b/src/BlockPartitioner.h
index a4656a1..bbdeb16 100644
--- a/src/BlockPartitioner.h
+++ b/src/BlockPartitioner.h
@@ -37,7 +37,7 @@
class BlockPartitioner : public ModMux, public ModMetadata
{
public:
- BlockPartitioner(unsigned mode, unsigned phase);
+ BlockPartitioner(unsigned mode);
int process(std::vector<Buffer*> dataIn, Buffer* dataOut);
const char* name() { return "BlockPartitioner"; }
@@ -49,10 +49,8 @@ protected:
int d_mode;
size_t d_ficSize;
size_t d_cifCount;
- size_t d_cifNb;
- size_t d_cifPhase;
- size_t d_metaPhase;
- size_t d_cifSize;
+ size_t d_cifNb = 0;
+ const size_t d_cifSize = 864 * 8;
size_t d_outputFramesize;
size_t d_outputFramecount;