Template ClockRecovery for ErrorFilter type.

This commit is contained in:
Jared Boone
2015-10-02 22:32:58 -07:00
parent 9879af37d5
commit 474eaa8541
2 changed files with 6 additions and 2 deletions
+2 -1
View File
@@ -78,9 +78,10 @@ private:
1
};
clock_recovery::ClockRecovery clock_recovery {
clock_recovery::ClockRecovery<clock_recovery::FixedErrorFilter> clock_recovery {
static_cast<float>(sampling_rate / 4),
9600,
{ 0.0012f },
[this](const float symbol) { this->consume_symbol(symbol); }
};
symbol_coding::NRZIDecoder nrzi_decode;