reduce sampling rate

This commit is contained in:
2025-04-28 18:41:58 +02:00
parent 6e1a52cacb
commit 0e877bccc1
5 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -146,5 +146,5 @@ float get_rds_sample(RDSModulator* rdsMod, uint8_t stream) {
if (rdsMod->data[stream].out_sample_index == SAMPLE_BUFFER_SIZE) rdsMod->data[stream].out_sample_index = 0;
uint8_t tooutput = rdsMod->params.rdsgen > stream ? 1 : 0;
return sample*rdsMod->params.level*tooutput;
return sample*rdsMod->params.level*tooutput / 3.5; // 3.5 volts from piracz
}