diff options
Diffstat (limited to 'uisimulator/common')
-rw-r--r-- | uisimulator/common/stubs.c | 69 |
1 files changed, 0 insertions, 69 deletions
diff --git a/uisimulator/common/stubs.c b/uisimulator/common/stubs.c index 9374a97d66..5c8e03d6f8 100644 --- a/uisimulator/common/stubs.c +++ b/uisimulator/common/stubs.c | |||
@@ -35,75 +35,6 @@ | |||
35 | 35 | ||
36 | static bool storage_spinning = false; | 36 | static bool storage_spinning = false; |
37 | 37 | ||
38 | #if CONFIG_CODEC != SWCODEC | ||
39 | #include "mp3_playback.h" | ||
40 | |||
41 | void audio_set_buffer_margin(int seconds) | ||
42 | { | ||
43 | (void)seconds; | ||
44 | } | ||
45 | |||
46 | /* list of tracks in memory */ | ||
47 | #define MAX_ID3_TAGS (1<<4) /* Must be power of 2 */ | ||
48 | #define MAX_ID3_TAGS_MASK (MAX_ID3_TAGS - 1) | ||
49 | |||
50 | static bool paused; /* playback is paused */ | ||
51 | static bool playing; /* We are playing an MP3 stream */ | ||
52 | |||
53 | bool audio_is_initialized = false; | ||
54 | |||
55 | void mp3_init(int volume, int bass, int treble, int balance, int loudness, | ||
56 | int avc, int channel_config, int stereo_width, | ||
57 | int mdb_strength, int mdb_harmonics, | ||
58 | int mdb_center, int mdb_shape, bool mdb_enable, | ||
59 | bool superbass) | ||
60 | { | ||
61 | (void)volume; | ||
62 | (void)bass; | ||
63 | (void)treble; | ||
64 | (void)balance; | ||
65 | (void)loudness; | ||
66 | (void)avc; | ||
67 | (void)channel_config; | ||
68 | (void)stereo_width; | ||
69 | (void)mdb_strength; | ||
70 | (void)mdb_harmonics; | ||
71 | (void)mdb_center; | ||
72 | (void)mdb_shape; | ||
73 | (void)mdb_enable; | ||
74 | (void)superbass; | ||
75 | audio_is_initialized = true; | ||
76 | |||
77 | playing = false; | ||
78 | paused = true; | ||
79 | } | ||
80 | |||
81 | void mp3_play_pause(bool play) | ||
82 | { | ||
83 | (void)play; | ||
84 | } | ||
85 | |||
86 | void mp3_play_stop(void) | ||
87 | { | ||
88 | } | ||
89 | |||
90 | unsigned char* mp3_get_pos(void) | ||
91 | { | ||
92 | return NULL; | ||
93 | } | ||
94 | |||
95 | void mp3_play_data(const void* start, size_t size, | ||
96 | mp3_play_callback_t get_more) | ||
97 | { | ||
98 | (void)start; (void)size; (void)get_more; | ||
99 | } | ||
100 | |||
101 | void mp3_shutdown(void) | ||
102 | { | ||
103 | } | ||
104 | |||
105 | #endif /* CODEC != SWCODEC */ | ||
106 | |||
107 | int fat_startsector(void) | 38 | int fat_startsector(void) |
108 | { | 39 | { |
109 | return 63; | 40 | return 63; |