From 668bd3445ecb39483160bbb310afa4337c83d0d9 Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Sun, 25 Apr 2010 22:54:58 +0000 Subject: Remove lots of simulator-speficic #ifdef'ing in sound.c to allow for DSP effects in the sims, e.g. for bass and treble (targets that do those effects in HW don't simulate using dsp). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25719 a1c6a512-1295-4272-9138-f99709370657 --- firmware/mp3_playback.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'firmware/mp3_playback.c') diff --git a/firmware/mp3_playback.c b/firmware/mp3_playback.c index 2bbd08d789..8e19829f56 100644 --- a/firmware/mp3_playback.c +++ b/firmware/mp3_playback.c @@ -69,9 +69,7 @@ static void (*callback_for_more)(unsigned char**, size_t*); #define MAX_ID3_TAGS (1<<4) /* Must be power of 2 */ #define MAX_ID3_TAGS_MASK (MAX_ID3_TAGS - 1) -#ifndef SIMULATOR bool audio_is_initialized = false; -#endif /* FIX: this code pretty much assumes a MAS */ @@ -353,6 +351,7 @@ void mp3_init(int volume, int bass, int treble, int balance, int loudness, (void)mdb_shape; (void)mdb_enable; (void)superbass; + audio_is_initialized = true; #else #if CONFIG_CODEC == MAS3507D unsigned long val; -- cgit v1.2.3