From 4b814d92fe9787bf72ed3a9632e0866f4cedd27f Mon Sep 17 00:00:00 2001 From: "Matthias (think)" Date: Wed, 11 Jul 2012 12:00:56 +0200 Subject: added crc-dabmod patch --- src/DabModulator.h | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'src/DabModulator.h') diff --git a/src/DabModulator.h b/src/DabModulator.h index 9112960..0eecfa4 100644 --- a/src/DabModulator.h +++ b/src/DabModulator.h @@ -2,6 +2,9 @@ Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012 Her Majesty the Queen in Right of Canada (Communications Research Center Canada) + + Includes modifications for which no copyright is claimed + 2012, Matthias P. Braendli, matthias.braendli@mpb.li */ /* This file is part of CRC-DADMOD. @@ -39,14 +42,20 @@ class DabModulator : public ModCodec { public: - DabModulator(unsigned outputRate = 2048000, unsigned clockRate = 0, - unsigned dabMode = 0, GainMode gainMode = GAIN_VAR, float factor = 1.0); + DabModulator( + struct modulator_offset_config& modconf, + unsigned outputRate = 2048000, unsigned clockRate = 0, + unsigned dabMode = 0, GainMode gainMode = GAIN_VAR, + float factor = 1.0, char* filterTapsFilename = NULL); DabModulator(const DabModulator& copy); virtual ~DabModulator(); int process(Buffer* const dataIn, Buffer* dataOut); const char* name() { return "DabModulator"; } + /* Required to get the timestamp */ + EtiReader* getEtiReader() { return &myEtiReader; } + protected: void setMode(unsigned mode); @@ -58,6 +67,7 @@ protected: EtiReader myEtiReader; Flowgraph* myFlowgraph; OutputMemory* myOutput; + char* myFilterTapsFilename; size_t myNbSymbols; size_t myNbCarriers; -- cgit v1.2.3