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

delay rds

This commit is contained in:
2026-02-15 14:03:10 +01:00
parent c1c97e4883
commit f5505b14e2
4 changed files with 30 additions and 28 deletions

View File

@@ -7,10 +7,8 @@ void init_stereo_encoder(StereoEncoder* st, uint8_t multiplier, Oscillator* osc,
st->pilot_volume = pilot_volume;
st->audio_volume = audio_volume;
#ifdef STEREO_SSB
init_delay_line(&st->delay_pilot, osc->sample_rate);
init_delay_line(&st->delay, osc->sample_rate);
set_delay_line(&st->delay_pilot, STEREO_SSB*2+1);
set_delay_line(&st->delay, STEREO_SSB*2+1);
init_delay_line(&st->delay_pilot, STEREO_SSB*2+1);
init_delay_line(&st->delay, STEREO_SSB*2+1);
#endif
}