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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user