summaryrefslogtreecommitdiff
path: root/firmware/mp3_playback.c
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2004-10-01 18:47:19 +0000
committerJens Arnold <amiconn@rockbox.org>2004-10-01 18:47:19 +0000
commit65bee608f6c429fffced7ad86e291bccb12580e5 (patch)
treec0afe49772175a48231373743967cc426ae261d6 /firmware/mp3_playback.c
parent52653f29460d3117aeef9ff004b3488868745af4 (diff)
Fixed a typo which lead to non-initialized MAS on Ondio SP
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5144 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/mp3_playback.c')
-rw-r--r--firmware/mp3_playback.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/mp3_playback.c b/firmware/mp3_playback.c
index 39760d3fab..f6793a9865 100644
--- a/firmware/mp3_playback.c
+++ b/firmware/mp3_playback.c
@@ -531,7 +531,7 @@ static void init_playback(void)
mp3_play_pause(false);
mas_reset();
-
+
/* Enable the audio CODEC and the DSP core, max analog voltage range */
rc = mas_direct_config_write(MAS_CONTROL, 0x8c00);
if(rc < 0)
@@ -902,7 +902,7 @@ void mpeg_set_pitch(int pitch)
}
#endif
-void mp3_init(int volume, int bass, int treble, int balance, int loudness,
+void mp3_init(int volume, int bass, int treble, int balance, int loudness,
int avc, int channel_config,
int mdb_strength, int mdb_harmonics,
int mdb_center, int mdb_shape, bool mdb_enable,
@@ -950,7 +950,7 @@ void mp3_init(int volume, int bass, int treble, int balance, int loudness,
DEBUGF("MAS3587 derivate %d, version %c%d\n",
(mas_version_code & 0xf000) >> 12,
'A' + ((mas_version_code & 0x0f00) >> 8), mas_version_code & 0xff);
-#elif CONFIG_HW_CODEC == MAS3539F
+#elif CONFIG_HWCODEC == MAS3539F
or_b(0x08, &PAIORH); /* output for /PR */
init_playback();