mirror of
https://github.com/radio95-rnt/fm95.git
synced 2026-07-29 15:59:14 +02:00
oh
This commit is contained in:
@@ -50,6 +50,7 @@ float bs412_compress(BS412Compressor* mpx, float sample) {
|
|||||||
debug_printf("MPX power: %.2f dBr with gain %.2fx (%.2f dBr)\n", modulation_power, mpx->gain, deviation_to_dbr(avg_deviation * mpx->gain));
|
debug_printf("MPX power: %.2f dBr with gain %.2fx (%.2f dBr)\n", modulation_power, mpx->gain, deviation_to_dbr(avg_deviation * mpx->gain));
|
||||||
#endif
|
#endif
|
||||||
mpx->sample_counter = 0;
|
mpx->sample_counter = 0;
|
||||||
|
if(mpx->can_compress == 0) mpx->second_counter++;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(mpx->can_compress == 0 && mpx->second_counter > BS412_TIME) {
|
if(mpx->can_compress == 0 && mpx->second_counter > BS412_TIME) {
|
||||||
|
|||||||
Reference in New Issue
Block a user