mirror of
https://github.com/radio95-rnt/fm95.git
synced 2026-07-31 08:49:17 +02:00
make *2 for preemphasis out
This commit is contained in:
+2
-2
@@ -139,10 +139,10 @@ int main() {
|
||||
#ifdef PREEMPHASIS
|
||||
#ifdef LPF
|
||||
float lowpassed = apply_low_pass_filter(&lpf, in);
|
||||
float preemphasized = apply_pre_emphasis(&preemp, lowpassed);
|
||||
float preemphasized = apply_pre_emphasis(&preemp, lowpassed)*2;
|
||||
float current_input = hard_clip(preemphasized);
|
||||
#else
|
||||
float preemphasized = apply_pre_emphasis(&preemp, in);
|
||||
float preemphasized = apply_pre_emphasis(&preemp, in)*2;
|
||||
float current_input = hard_clip(preemphasized);
|
||||
#endif
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user