make lpf a IIR

This commit is contained in:
2025-01-02 01:01:14 +01:00
parent d9625757b3
commit 9ddee9239d
7 changed files with 17 additions and 35 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ int main() {
// Define formats and buffer atributes
pa_sample_spec audio_format = {
.format = PA_SAMPLE_FLOAT32LE,
.format = PA_SAMPLE_FLOAT32NE, //Float32 NE, or Float32 Native Endian, the float in c uses the endianess of your pc, or native endian, and float is float32, and double is float64
.channels = 1,
.rate = SAMPLE_RATE // Same sample rate makes it easy, leave the resampling to pipewire, it should know better
};