FixedErrorFilter constructor.

This commit is contained in:
Jared Boone 2015-10-02 17:51:06 -07:00
parent 727d4c8a1f
commit 9879af37d5

View File

@ -89,6 +89,12 @@ private:
class FixedErrorFilter {
public:
FixedErrorFilter(
const float weight = (1.0f / 16.0f)
) : weight { weight }
{
}
float operator()(
const float lateness
) const {
@ -96,7 +102,7 @@ public:
}
private:
float weight { 1.0f / 16.0f };
const float weight;
};
class ClockRecovery {