mirror of
https://github.com/radio95-rnt/fm95.git
synced 2026-07-30 08:19:14 +02:00
move the clock thing back
This commit is contained in:
+2
-2
@@ -258,11 +258,11 @@ int run_fm95(FM95_Config* config, FM95_Runtime* runtime, FM95_RunResult* result)
|
|||||||
if (osc_stream >= 13) osc_stream++;
|
if (osc_stream >= 13) osc_stream++;
|
||||||
|
|
||||||
float shaped = 0.0f;
|
float shaped = 0.0f;
|
||||||
iirfilt_rrrf_execute(runtime->rds_filter[stream], runtime->rds_symbol[stream], &shaped);
|
iirfilt_rrrf_execute(runtime->rds_filter[stream], clock * runtime->rds_symbol[stream], &shaped);
|
||||||
|
|
||||||
float carrier = get_oscillator_cos_multiplier_ni(&runtime->osc, osc_stream * 4.0f);
|
float carrier = get_oscillator_cos_multiplier_ni(&runtime->osc, osc_stream * 4.0f);
|
||||||
if (config->stereo_ssb) carrier = delay_line(&runtime->rds_delays[stream], carrier);
|
if (config->stereo_ssb) carrier = delay_line(&runtime->rds_delays[stream], carrier);
|
||||||
mpx += clock * shaped * carrier * config->volumes.rds;
|
mpx += shaped * carrier * config->volumes.rds;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user