mirror of
https://github.com/eried/portapack-mayhem.git
synced 2024-10-01 01:26:06 -04:00
FixedErrorFilter constructor.
This commit is contained in:
parent
727d4c8a1f
commit
9879af37d5
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user