From 7b183ce8e6441528a5e928972aadd0370da39962 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Sun, 1 Oct 2017 16:01:12 +0200 Subject: [PATCH] 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. --- src/mathutils.c | 12 ------------ src/musicutils.h | 7 ------- 2 files changed, 19 deletions(-) diff --git a/src/mathutils.c b/src/mathutils.c index 29e24a2a..44b02112 100644 --- a/src/mathutils.c +++ b/src/mathutils.c @@ -660,18 +660,6 @@ aubio_autocorr (const fvec_t * input, fvec_t * output) } 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 diff --git a/src/musicutils.h b/src/musicutils.h index 56741654..d9638ac1 100644 --- a/src/musicutils.h +++ b/src/musicutils.h @@ -92,13 +92,6 @@ smpl_t aubio_freqtomidi (smpl_t freq); /** 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 -- 2.11.0