Default constructors and configure methods for baseband classes.

This commit is contained in:
Jared Boone
2015-11-05 10:19:05 -08:00
parent 5236a858d0
commit ddd34793a6
10 changed files with 65 additions and 77 deletions

View File

@@ -38,12 +38,6 @@ public:
By32,
};
ChannelDecimator(
DecimationFactor f
) : decimation_factor { f }
{
}
void set_decimation_factor(const DecimationFactor f) {
decimation_factor = f;
}
@@ -75,7 +69,7 @@ private:
dsp::decimate::DecimateBy2CIC3 cic_3;
dsp::decimate::DecimateBy2CIC3 cic_4;
DecimationFactor decimation_factor { DecimationFactor::By32 };
DecimationFactor decimation_factor = DecimationFactor::By32;
buffer_c16_t execute_decimation(buffer_c8_t buffer);
};