mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-07-30 18:19:08 -04:00
FixedErrorFilter constructor.
This commit is contained in:
parent
727d4c8a1f
commit
9879af37d5
1 changed files with 7 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue