diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2012-04-30 01:55:32 -0400 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2012-04-30 01:55:32 -0400 |
commit | 5f37840e31e2086331bcd862e04682964d606d18 (patch) | |
tree | ca5d5b9257c9ba792bc4711a0e5ae7f1b9b47deb | |
parent | ae5656a14228435bad25c835fff510672cdea235 (diff) | |
download | rockbox-5f37840e31e2086331bcd862e04682964d606d18.tar.gz rockbox-5f37840e31e2086331bcd862e04682964d606d18.zip |
Warble must have a call to dsp_init before setting options or using it.
Change-Id: If5cabba99baffe87002d07f11641175f539315a1
-rw-r--r-- | lib/rbcodec/test/warble.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/rbcodec/test/warble.c b/lib/rbcodec/test/warble.c index 5e2e980d42..853ae6eb70 100644 --- a/lib/rbcodec/test/warble.c +++ b/lib/rbcodec/test/warble.c | |||
@@ -702,6 +702,9 @@ static void print_mp3entry(const struct mp3entry *id3, FILE *f) | |||
702 | 702 | ||
703 | static void decode_file(const char *input_fn) | 703 | static void decode_file(const char *input_fn) |
704 | { | 704 | { |
705 | /* Initialize DSP before any sort of interaction */ | ||
706 | dsp_init(); | ||
707 | |||
705 | /* Set up global settings */ | 708 | /* Set up global settings */ |
706 | memset(&global_settings, 0, sizeof(global_settings)); | 709 | memset(&global_settings, 0, sizeof(global_settings)); |
707 | global_settings.timestretch_enabled = true; | 710 | global_settings.timestretch_enabled = true; |