mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Make it easier to use a static version of fftw in the dsp module
This commit is contained in:
parent
974214afb0
commit
a4ffb41bff
1 changed files with 14 additions and 0 deletions
|
|
@ -530,6 +530,20 @@ FFT::EngineImpl<AppleFFT> appleFFT;
|
|||
//==============================================================================
|
||||
//==============================================================================
|
||||
#if JUCE_DSP_USE_SHARED_FFTW || JUCE_DSP_USE_STATIC_FFTW
|
||||
|
||||
#if JUCE_DSP_USE_STATIC_FFTW
|
||||
extern "C"
|
||||
{
|
||||
void* fftwf_plan_dft_1d (int, void*, void*, int, int);
|
||||
void* fftwf_plan_dft_r2c_1d (int, void*, void*, int);
|
||||
void* fftwf_plan_dft_c2r_1d (int, void*, void*, int);
|
||||
void fftwf_destroy_plan (void*);
|
||||
void fftwf_execute_dft (void*, void*, void*);
|
||||
void fftwf_execute_dft_r2c (void*, void*, void*);
|
||||
void fftwf_execute_dft_c2r (void*, void*, void*);
|
||||
}
|
||||
#endif
|
||||
|
||||
struct FFTWImpl : public FFT::Instance
|
||||
{
|
||||
#if JUCE_DSP_USE_STATIC_FFTW
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue