summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2012-04-30 01:55:32 -0400
committerMichael Sevakis <jethead71@rockbox.org>2012-04-30 01:55:32 -0400
commit5f37840e31e2086331bcd862e04682964d606d18 (patch)
treeca5d5b9257c9ba792bc4711a0e5ae7f1b9b47deb
parentae5656a14228435bad25c835fff510672cdea235 (diff)
downloadrockbox-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.c3
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
703static void decode_file(const char *input_fn) 703static 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;