mirror of
https://github.com/mborgerding/kissfft.git
synced 2025-07-18 21:14:24 -04:00
made easy to use longs for fixed point
This commit is contained in:
@ -24,7 +24,11 @@ extern "C" {
|
||||
*/
|
||||
|
||||
#ifdef FIXED_POINT
|
||||
# define kiss_fft_scalar short
|
||||
# if (FIXED_POINT == 32)
|
||||
# define kiss_fft_scalar long
|
||||
# else
|
||||
# define kiss_fft_scalar short
|
||||
# endif
|
||||
#else
|
||||
# ifndef kiss_fft_scalar
|
||||
/* default is float */
|
||||
|
Reference in New Issue
Block a user