mirror of
https://github.com/radio95-rnt/fm95.git
synced 2026-07-29 15:59:14 +02:00
oh, ok
This commit is contained in:
+3
-4
@@ -276,9 +276,9 @@ int run_fm95(FM95_Config* config, FM95_Runtime* runtime, FM95_RunResult* result)
|
||||
runtime->rds_symbol[0] = runtime->rds_last_bit[0] ? 1.0f : -1.0f;
|
||||
}
|
||||
|
||||
// float clock = get_oscillator_cos_multiplier_ni(&runtime->osc, 1.0f);
|
||||
float clock = get_oscillator_cos_multiplier_ni(&runtime->osc, 1.0f);
|
||||
float carrier = get_oscillator_cos_multiplier_ni(&runtime->osc, 52.0f);
|
||||
mpx += runtime->rds_symbol[0] * carrier * config->volumes.rds;
|
||||
mpx += runtime->rds_symbol[0] * clock * carrier * config->volumes.rds;
|
||||
}
|
||||
|
||||
mpx = bs412_compress(&runtime->bs412, audio, mpx+mpx_in[i], &temp_result.mpx_power);
|
||||
@@ -610,8 +610,7 @@ static void *handle_client(ipc_client_arg_t *arg) {
|
||||
unpacked[nbits++] = (buf[i] >> b) & 1;
|
||||
}
|
||||
bit_ring_write(&data->runtime->rds_bitring[0], unpacked, nbits);
|
||||
reply = 0xff;
|
||||
printf("rds data\n");
|
||||
reply = 0;
|
||||
break;
|
||||
}
|
||||
case 0xfe:
|
||||
|
||||
Reference in New Issue
Block a user