1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-07-23 02:24:16 -04:00

WDSP corrections

This commit is contained in:
f4exb
2024-06-24 22:23:10 +02:00
parent b2303b028c
commit 8d9dc3b5ed
40 changed files with 133 additions and 126 deletions
+2 -2
View File
@@ -67,7 +67,7 @@ void DELAY::destroy_delay (DELAY *a)
void DELAY::flush_delay (DELAY *a)
{
memset (a->ring, 0, a->cpp * sizeof (dcomplex));
memset (a->ring, 0, a->cpp * sizeof (wcomplex));
a->idx_in = 0;
}
@@ -97,7 +97,7 @@ void DELAY::xdelay (DELAY *a)
}
}
else if (a->out != a->in)
memcpy (a->out, a->in, a->size * sizeof (dcomplex));
memcpy (a->out, a->in, a->size * sizeof (wcomplex));
a->cs_update.unlock();
}