diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2007-03-09 12:51:25 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2007-03-09 12:51:25 +0000 |
commit | 68f9e1ad5772ceeddec11a602d6eaf4806adec16 (patch) | |
tree | cbe3223a8afa9185266e5077dc451a832a59ee1d /firmware/mp3_playback.c | |
parent | 98cd3e8868a54541dce9875dfaf04e2695a97c37 (diff) | |
download | rockbox-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.c | 57 |
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*); | |||
72 | bool audio_is_initialized = false; | 72 | bool 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 */ | ||
599 | void 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 | |||
630 | void mp3_shutdown(void) | ||
631 | { | ||
632 | /* a dummy */ | ||
633 | } | ||
634 | |||
635 | void mp3_play_pause(bool play) | ||
636 | { | ||
637 | /* a dummy */ | ||
638 | (void)play; | ||
639 | } | ||
640 | |||
641 | unsigned char* mp3_get_pos(void) | ||
642 | { | ||
643 | /* a dummy */ | ||
644 | return (unsigned char *)0x1234; | ||
645 | } | ||
646 | |||
647 | bool mp3_is_playing(void) | ||
648 | { | ||
649 | return playing; | ||
650 | } | ||
651 | |||
652 | #endif /* CONFIG_CODEC == SWCODEC */ | ||