diff options
author | waker <wakeroid@gmail.com> | 2012-10-25 21:51:08 +0200 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2012-10-25 21:51:08 +0200 |
commit | b013e081750203b795c4cdd0496110693f439ab3 (patch) | |
tree | a6853dbb35a2a81ff22671525bb2bf88f25b6a97 /fft.h | |
parent | d940812fafd1a71837a3bb3f1c1132c7beea5187 (diff) |
new fft code from audacious, now spectrum analyzer looks correctly
Diffstat (limited to 'fft.h')
-rw-r--r-- | fft.h | 25 |
1 files changed, 25 insertions, 0 deletions
@@ -0,0 +1,25 @@ +/* + * fft.h + * Copyright 2011 John Lindgren + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * + * 1. Redistributions of source code must retain the above copyright notice, + * this list of conditions, and the following disclaimer. + * + * 2. Redistributions in binary form must reproduce the above copyright notice, + * this list of conditions, and the following disclaimer in the documentation + * provided with the distribution. + * + * This software is provided "as is" and without any warranty, express or + * implied. In no event shall the authors be liable for any damages arising from + * the use of this software. + */ + +#ifndef AUDACIOUS_FFT_H +#define AUDACIOUS_FFT_H + +void calc_freq (const float data[512], float freq[256]); + +#endif |