Fix uninitialized warning and remove header pollution (#803)

* Fix uninitialized warning and remove header pollution

* Nits

* IWYU

* More IWYU
This commit is contained in:
wheremyfoodat
2025-08-07 23:12:45 +03:00
committed by GitHub
parent 1f2403c417
commit bd81c72608
17 changed files with 66 additions and 94 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;
};