summaryrefslogtreecommitdiff
path: root/firmware/mp3_playback.c
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2007-03-09 12:51:25 +0000
committerMichael Sevakis <jethead71@rockbox.org>2007-03-09 12:51:25 +0000
commit68f9e1ad5772ceeddec11a602d6eaf4806adec16 (patch)
treecbe3223a8afa9185266e5077dc451a832a59ee1d /firmware/mp3_playback.c
parent98cd3e8868a54541dce9875dfaf04e2695a97c37 (diff)
downloadrockbox-68f9e1ad5772ceeddec11a602d6eaf4806adec16.tar.gz
rockbox-68f9e1ad5772ceeddec11a602d6eaf4806adec16.zip
Guess there were more changes to it.:) Odd that mine built until a make clean.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12694 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/mp3_playback.c')
-rw-r--r--firmware/mp3_playback.c57
1 files changed, 0 insertions, 57 deletions
diff --git a/firmware/mp3_playback.c b/firmware/mp3_playback.c
index a5a251160e..bd6ba60777 100644
--- a/firmware/mp3_playback.c
+++ b/firmware/mp3_playback.c
@@ -72,7 +72,6 @@ static void (*callback_for_more)(unsigned char**, int*);
72bool audio_is_initialized = false; 72bool audio_is_initialized = false;
73#endif 73#endif
74 74
75#if CONFIG_CODEC != SWCODEC
76/* FIX: this code pretty much assumes a MAS */ 75/* FIX: this code pretty much assumes a MAS */
77 76
78#ifndef SIMULATOR 77#ifndef SIMULATOR
@@ -594,59 +593,3 @@ unsigned char* mp3_get_pos(void)
594 593
595 594
596#endif /* #ifndef SIMULATOR */ 595#endif /* #ifndef SIMULATOR */
597
598#else /* CONFIG_CODEC != SWCODEC */
599void mp3_init(int volume, int bass, int treble, int balance, int loudness,
600 int avc, int channel_config, int stereo_width,
601 int mdb_strength, int mdb_harmonics,
602 int mdb_center, int mdb_shape, bool mdb_enable,
603 bool superbass)
604{
605 /* a dummy */
606 (void)volume;
607 (void)bass;
608 (void)treble;
609 (void)balance;
610 (void)loudness;
611 (void)avc;
612 (void)channel_config;
613 (void)stereo_width;
614 (void)mdb_strength;
615 (void)mdb_harmonics;
616 (void)mdb_center;
617 (void)mdb_shape;
618 (void)mdb_enable;
619 (void)superbass;
620
621 paused = false;
622 playing = false;
623#ifndef SIMULATOR
624 playstart_tick = 0;
625 cumulative_ticks = 0;
626 callback_for_more = 0;
627#endif
628}
629
630void mp3_shutdown(void)
631{
632 /* a dummy */
633}
634
635void mp3_play_pause(bool play)
636{
637 /* a dummy */
638 (void)play;
639}
640
641unsigned char* mp3_get_pos(void)
642{
643 /* a dummy */
644 return (unsigned char *)0x1234;
645}
646
647bool mp3_is_playing(void)
648{
649 return playing;
650}
651
652#endif /* CONFIG_CODEC == SWCODEC */