mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-07-23 02:24:16 -04:00
WDSP corrections
This commit is contained in:
+2
-2
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user