Unified · Split
| @@ -1,3 +1,8 @@ | |||
| 1 | 2012-09-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com> | ||
| 2 | |||
| 3 | * tests/varispeed_test.c | ||
| 4 | FIx compile error. | ||
| 5 | |||
| 1 | 2012-08-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com> | 6 | 2012-08-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com> |
| 2 | 7 | ||
| 3 | * src/common.h src/samplerate.c | 8 | * src/common.h src/samplerate.c |
| @@ -16,6 +16,8 @@ · 15 unmodified lines | |||
| 16 | ** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. | 16 | ** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. |
| 17 | */ | 17 | */ |
| 18 | 18 | ||
| 19 | #include "config.h" | ||
| 20 | |||
| 19 | #include <stdio.h> | 21 | #include <stdio.h> |
| 20 | #include <stdlib.h> | 22 | #include <stdlib.h> |
| 21 | #include <math.h> | 23 | #include <math.h> |
| @@ -25,6 +27,12 @@ · 3 unmodified lines | |||
| 25 | 27 | ||
| 26 | #include "util.h" | 28 | #include "util.h" |
| 27 | 29 | ||
| 30 | #if HAVE_FFTW3 | ||
| 31 | #include <fftw3.h> | ||
| 32 | #else | ||
| 33 | #define fftw_cleanup() | ||
| 34 | #endif | ||
| 35 | |||
| 28 | #define BUFFER_LEN (1 << 16) | 36 | #define BUFFER_LEN (1 << 16) |
| 29 | 37 | ||
| 30 | static void varispeed_test (int converter, double target_snr) ; | 38 | static void varispeed_test (int converter, double target_snr) ; |