shithub: aubio

Download patch

ref: faeec7c5fa5496bc76342a802daec485a27103a0
parent: 7100895117717f9721a73937fa3871d41ea82a2e
author: Eduard Müller <mueller.eduard@googlemail.com>
date: Sun Jul 30 05:58:44 EDT 2017

fixed missing aubio_vDSP_vclr define

old fvec_zeros impl never used it with HAVE_ACCELERATE, when
HAVE_MEMCPY_HACKS was also defined

--- a/src/aubio_priv.h
+++ b/src/aubio_priv.h
@@ -93,6 +93,7 @@
 #define aubio_vDSP_minv       vDSP_minv
 #define aubio_vDSP_minvi      vDSP_minvi
 #define aubio_vDSP_dotpr      vDSP_dotpr
+#define aubio_vDSP_vclr       vDSP_vclr
 #else /* HAVE_AUBIO_DOUBLE */
 #define aubio_vDSP_mmov       vDSP_mmovD
 #define aubio_vDSP_vmul       vDSP_vmulD
@@ -104,6 +105,7 @@
 #define aubio_vDSP_minv       vDSP_minvD
 #define aubio_vDSP_minvi      vDSP_minviD
 #define aubio_vDSP_dotpr      vDSP_dotprD
+#define aubio_vDSP_vclr       vDSP_vclrD
 #endif /* HAVE_AUBIO_DOUBLE */
 #endif /* HAVE_ACCELERATE */