0
1
mirror of https://github.com/radio95-rnt/fm95.git synced 2026-02-26 19:23:51 +01:00

pre_emphasis works now

This commit is contained in:
2024-12-30 23:02:57 +01:00
parent 9931a5ed49
commit 20068617f2

View File

@@ -89,7 +89,7 @@ void init_pre_emphasis(PreEmphasis *pe) {
float apply_pre_emphasis(PreEmphasis *pe, float sample) {
float audio = sample-pe->alpha*pe->prev_sample;
pe->prev_sample = audio;
return audio;
return audio*2;
}
#endif