Smoothing Remove ouputrate as duplicate to update frequency

This commit is contained in:
LordGrey
2022-10-21 15:03:11 +02:00
parent 9df21b9ddd
commit b0bcb5e461
5 changed files with 4 additions and 34 deletions

View File

@@ -230,9 +230,6 @@ private:
/// Flag for pausing
bool _pause;
/// The rate at which color frames should be written to LED device.
double _outputRate;
/// The interval time in microseconds for writing of LED Frames.
int64_t _outputIntervalMicros;
@@ -268,9 +265,6 @@ private:
/// The type of smoothing to perform
SmoothingType _type;
/// The rate at which color frames should be written to LED device.
double _outputRate;
/// The rate at which interpolation of LED frames should be performed.
double _interpolationRate;
@@ -284,7 +278,7 @@ private:
double _decay;
SmoothingCfg();
SmoothingCfg(bool pause, int64_t settlingTime, int updateInterval, SmoothingType type = SmoothingType::Linear, double outputRate = 0, double interpolationRate = 0, unsigned outputDelay = 0, bool dithering = false, double decay = 1);
SmoothingCfg(bool pause, int64_t settlingTime, int updateInterval, SmoothingType type = SmoothingType::Linear, double interpolationRate = 0, unsigned outputDelay = 0, bool dithering = false, double decay = 1);
static QString EnumToString(SmoothingType type);
};