0
1
mirror of https://github.com/radio95-rnt/fm95.git synced 2026-02-27 03:23:54 +01:00
This commit is contained in:
2025-03-25 16:03:19 +01:00
parent ad1856f255
commit 2a8aefb26d
3 changed files with 4 additions and 7 deletions

View File

@@ -416,7 +416,7 @@ int main(int argc, char **argv) {
init_preemphasis(&preemp_r, preemphasis_tau, sample_rate);
PLL rds2_pll;
init_pll(&rds2_pll, 66500, 1, 2, 1, sample_rate);
init_pll(&rds2_pll, 66500, 1, 0.25f, sample_rate);
// #endregion
signal(SIGINT, stop);
@@ -492,7 +492,7 @@ int main(int argc, char **argv) {
}
}
if(rds_on && polar_stereo == 0) {
float rds_carrier = get_oscillator_cos_multiplier_ni(&osc, 3);
float rds_carrier = get_oscillator_sin_multiplier_ni(&osc, 3);
output[i] += (current_rds_in*rds_carrier)*RDS_VOLUME;
if(!sca_on) {
float rds2_carrier_66 = apply_pll(&rds2_pll, get_oscillator_sin_multiplier_ni(&osc, 1));