diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2015-12-26 10:26:11 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2015-12-26 10:26:11 +0000 |
| commit | c3b05ebdc87be03e1cce5ccc5aa9398db3054f53 (patch) | |
| tree | 187bd56977c1318c99b906e48c3153c5fed34a7d /src/plugins/Ui/skinned/fft.h | |
| parent | 5c9ab872f2d8fbb3871e79216663e4c8213962a6 (diff) | |
| download | qmmp-c3b05ebdc87be03e1cce5ccc5aa9398db3054f53.tar.gz qmmp-c3b05ebdc87be03e1cce5ccc5aa9398db3054f53.tar.bz2 qmmp-c3b05ebdc87be03e1cce5ccc5aa9398db3054f53.zip | |
changed visual api, disabled broken plugins
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@5885 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Ui/skinned/fft.h')
| -rw-r--r-- | src/plugins/Ui/skinned/fft.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/plugins/Ui/skinned/fft.h b/src/plugins/Ui/skinned/fft.h index 915bccaf6..c24e2e584 100644 --- a/src/plugins/Ui/skinned/fft.h +++ b/src/plugins/Ui/skinned/fft.h @@ -23,8 +23,11 @@ #define FFT_BUFFER_SIZE (1 << FFT_BUFFER_SIZE_LOG) -/* sound sample - should be an signed 16 bit value */ -typedef short int sound_sample; +/* + modifications compared to original code: + using float format for input data +*/ + #ifdef __cplusplus extern "C" { @@ -33,7 +36,7 @@ extern "C" { /* FFT library */ typedef struct _struct_fft_state fft_state; fft_state *fft_init(void); - void fft_perform(const sound_sample * input, float *output, + void fft_perform(const float *input, float *output, fft_state * state); void fft_close(fft_state * state); |
