This commit is contained in:
wheremyfoodat 2025-08-07 21:36:02 +03:00
commit 4c57432e2f
2 changed files with 4 additions and 3 deletions

View file

@ -16,9 +16,9 @@ namespace Audio::Interpolation {
using StereoFrame16 = Audio::DSPMixer::StereoFrame<s16>;
struct State {
// Two historical samples.
std::array<s16, 2> xn1 = {}; //< x[n-1]
std::array<s16, 2> xn2 = {}; //< x[n-2]
// Two history samples.
std::array<s16, 2> xn1 = {}; // x[n-1]
std::array<s16, 2> xn2 = {}; // x[n-2]
// Current fractional position.
u64 fposition = 0;
};

View file

@ -6,6 +6,7 @@
class ElidedLabel : public QLabel {
Q_OBJECT
public:
explicit ElidedLabel(Qt::TextElideMode elideMode = Qt::ElideLeft, QWidget* parent = nullptr);
explicit ElidedLabel(QString text, Qt::TextElideMode elideMode = Qt::ElideLeft, QWidget* parent = nullptr);