mirror of
https://github.com/radio95-rnt/fm95.git
synced 2026-07-30 08:19:14 +02:00
turn lpf and emphasis into a common rc
This commit is contained in:
@@ -121,9 +121,9 @@ int main() {
|
||||
Oscillator stereo_osc;
|
||||
init_oscillator(&stereo_osc, 31250.0, SAMPLE_RATE);
|
||||
#ifdef PREEMPHASIS
|
||||
Emphasis preemp_l, preemp_r;
|
||||
init_emphasis(&preemp_l, PREEMPHASIS_TAU, SAMPLE_RATE);
|
||||
init_emphasis(&preemp_r, PREEMPHASIS_TAU, SAMPLE_RATE);
|
||||
ResistorCapacitor preemp_l, preemp_r;
|
||||
init_rc(&preemp_l, PREEMPHASIS_TAU, SAMPLE_RATE);
|
||||
init_rc(&preemp_r, PREEMPHASIS_TAU, SAMPLE_RATE);
|
||||
#endif
|
||||
#ifdef LPF
|
||||
LowPassFilter lpf_l, lpf_r;
|
||||
|
||||
Reference in New Issue
Block a user