From 6d87a2dae482ca880681048106e6583463328ad8 Mon Sep 17 00:00:00 2001 From: Alex Harker Date: Fri, 11 Oct 2019 14:26:56 +0100 Subject: [PATCH] Updates from HISSTools_Library --- FrameLib_Dependencies/HISSTools_FFT/HISSTools_FFT.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/FrameLib_Dependencies/HISSTools_FFT/HISSTools_FFT.h b/FrameLib_Dependencies/HISSTools_FFT/HISSTools_FFT.h index 4f13d448..53d27f95 100755 --- a/FrameLib_Dependencies/HISSTools_FFT/HISSTools_FFT.h +++ b/FrameLib_Dependencies/HISSTools_FFT/HISSTools_FFT.h @@ -47,8 +47,8 @@ typedef struct DSPSplitComplex FFT_SPLIT_COMPLEX_F; #else -struct DoubleSplit : public Split {}; -struct FloatSplit : public Split {}; +typedef Split DoubleSplit; +typedef Split FloatSplit; /** FFT_SETUP_D is an opaque setup structure for a double-precision FFT. @@ -66,12 +66,12 @@ typedef struct FloatSetup *FFT_SETUP_F; FFT_SPLIT_COMPLEX_D is a Structure for storing a double-precision complex array in split form. */ -typedef struct DoubleSplit FFT_SPLIT_COMPLEX_D; +typedef DoubleSplit FFT_SPLIT_COMPLEX_D; /** FFT_SPLIT_COMPLEX_F is a Structure for storing a single-precision complex array in split form. */ -typedef struct FloatSplit FFT_SPLIT_COMPLEX_F; +typedef FloatSplit FFT_SPLIT_COMPLEX_F; #endif @@ -351,7 +351,7 @@ void hisstools_unzip(const float *input, FFT_SPLIT_COMPLEX_F *output, uintptr_t @param output A pointer to the real double-precision output. @param log2n The log base 2 of the FFT size. - @remark Subnsequent to running a real FFT the data must be zipped from a complex split structue into a contiguous memory location for final output. This function performs the zipping. + @remark Subsequent to running a real FFT the data must be zipped from a complex split structue into a contiguous memory location for final output. This function performs the zipping. */ void hisstools_zip(const FFT_SPLIT_COMPLEX_D *input, double *output, uintptr_t log2n); @@ -363,8 +363,9 @@ void hisstools_zip(const FFT_SPLIT_COMPLEX_D *input, double *output, uintptr_t l @param output A pointer to the real single-precision output. @param log2n The log base 2 of the FFT size. - @remark Subnsequent to running a real FFT the data must be zipped from a complex split structue into a contiguous memory location for final output. This function performs the zipping. + @remark Subsequent to running a real FFT the data must be zipped from a complex split structue into a contiguous memory location for final output. This function performs the zipping. */ + void hisstools_zip(const FFT_SPLIT_COMPLEX_F *input, float *output, uintptr_t log2n); #endif