fork/rust-sdks
git clone https://git.julia.blue/fork/rust-sdks
2e4d385
main
1/* SoX Resampler Library Copyright (c) 2007-13 robs@users.sourceforge.net 2* Licence for this file: LGPL v2.1 See LICENCE for details. */ 3 4#include <stdlib.h> 5#include "filter.h" 6#define FFT4G_FLOAT 7#include "fft4g.c" 8#include "soxr-config.h" 9 10#if WITH_CR32 11#include "rdft_t.h" 12static void * null (void ) {return 0 ;} 13static void forward (int length ,void * setup ,double * H ) {lsx_safe_rdft_f (length ,1 ,H ); (void )setup ;} 14static void backward (int length ,void * setup ,double * H ) {lsx_safe_rdft_f (length ,-1 ,H ); (void )setup ;} 15static int multiplier (void ) {return 2 ;} 16static void nothing (void ) {} 17static int flags (void ) {return 0 ;} 18 19fn_t _soxr_rdft32_cb []= { 20 (fn_t )null , 21 (fn_t )null , 22 (fn_t )nothing , 23 (fn_t )forward , 24 (fn_t )forward , 25 (fn_t )backward , 26 (fn_t )backward , 27 (fn_t )_soxr_ordered_convolve_f , 28 (fn_t )_soxr_ordered_partial_convolve_f , 29 (fn_t )multiplier , 30 (fn_t )nothing , 31 (fn_t )malloc , 32 (fn_t )calloc , 33 (fn_t )free , 34 (fn_t )flags , 35}; 36#endif