1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-02 06:04:39 -04:00

WDSP: Sonar corrections and cleanup

This commit is contained in:
f4exb
2024-07-19 08:10:54 +02:00
parent 40f7ecdaa0
commit c32116a330
14 changed files with 111 additions and 312 deletions
+3
View File
@@ -60,6 +60,9 @@ void RESAMPLE::calc_resample (RESAMPLE *a)
a->L = a->out_rate / x;
a->M = a->in_rate / x;
a->L <= 0 ? 1 : a->L;
a->M <= 0 ? 1 : a->M;
if (a->in_rate < a->out_rate)
min_rate = a->in_rate;
else