]> git.rkrishnan.org Git - dttsp.git/blobdiff - jDttSP/ovsv.c
Bug fixes to jsdr, keyer
[dttsp.git] / jDttSP / ovsv.c
index 3575ff4fc6099d4986dbb2f878f43ff81af2f961..dfc2f0fd14702519eb295f9480b2a6ec9fefd197 100644 (file)
@@ -92,6 +92,11 @@ filter_OvSv_par(FiltOvSv pflt) {
   for (i = 0, j = n; i < n; i++, j++) zrvec[i] = zrvec[j];
 }
 
+void
+reset_OvSv(FiltOvSv pflt) {
+  memset((char *) pflt->zrvec, 0, pflt->fftlen * sizeof(COMPLEX));
+}
+
 /*------------------------------------------------------------*/
 /* info: */
 /* NB strategy. This is the address we pass to newCXB as