ref: 7b183ce8e6441528a5e928972aadd0370da39962
parent: 972094546fff148a563475e76050a1d4e98f9cbc
author: Paul Brossier <piem@piem.org>
date: Sun Oct 1 12:01:12 EDT 2017
src/musicutils.h: remove aubio_init() calling ippsInit() is not required anymore as of ipp 9.0. when using an older version, it is up to the caller to call ippsInit as needed.
--- a/src/mathutils.c
+++ b/src/mathutils.c
@@ -660,18 +660,6 @@
}
void
-aubio_init (void)
-{
-/* initialize intel IPP */
-#ifdef HAVE_INTEL_IPP
- IppStatus status = ippInit();
- if (status != ippStsNoErr) {
- fprintf (stderr, "Error: failed to initialize Intel IPP - status %d\n", status);
- }
-#endif
-}
-
-void
aubio_cleanup (void)
{
#ifdef HAVE_FFTW3F
--- a/src/musicutils.h
+++ b/src/musicutils.h
@@ -92,13 +92,6 @@
/** convert midi value (0-128) to frequency (Hz) */
smpl_t aubio_miditofreq (smpl_t midi);
-/** initialize global status at beginning of program
-
- This function should be used before doing anything else in aubio.
- So far it is only used to initialize the Intel IPP library, when it's used.
-*/
-void aubio_init (void);
-
/** clean up cached memory at the end of program
This function should be used at the end of programs to purge all cached