summaryrefslogtreecommitdiffstats
path: root/lib/rbcodec/test
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 /lib/rbcodec/test
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
Diffstat (limited to 'lib/rbcodec/test')
-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)
static void decode_file(const char *input_fn)
{
+ /* Initialize DSP before any sort of interaction */
+ dsp_init();
+
/* Set up global settings */
memset(&global_settings, 0, sizeof(global_settings));
global_settings.timestretch_enabled = true;