1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-07-28 21:14:15 -04:00

WDSP: remove wcomplex

This commit is contained in:
f4exb
2024-07-16 23:15:13 +02:00
parent 0b62856e70
commit 3a4981046c
43 changed files with 128 additions and 134 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 (wcomplex));
std::fill(a->ring, a->ring + a->cpp * 2, 0);
a->idx_in = 0;
}
@@ -105,7 +105,7 @@ void DELAY::xdelay (DELAY *a)
}
}
else if (a->out != a->in)
memcpy (a->out, a->in, a->size * sizeof (wcomplex));
std::copy( a->in, a->in + a->size * 2, a->out);
}
/********************************************************************************************************