summaryrefslogtreecommitdiffstats
path: root/uisimulator/common
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-07-17 00:01:32 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-07-24 21:20:13 +0000
commit8cb555460ff79e636a7907fb2589e16db98c8600 (patch)
tree930a3878c7641c9ce045b24f0ade1309e36d5806 /uisimulator/common
parent0c4f89370d05056faa789aa9cabcccc4e509fb9f (diff)
downloadrockbox-8cb555460ff79e636a7907fb2589e16db98c8600.tar.gz
rockbox-8cb555460ff79e636a7907fb2589e16db98c8600.tar.bz2
rockbox-8cb555460ff79e636a7907fb2589e16db98c8600.zip
[3/4] Completely remove HWCODEC support
'swcodec' is now always set (and recording_swcodec for recording-capable units) in feature.txt so the manual and language strings don't need to all be fixed up. Change-Id: Ib2c9d5d157af8d33653e2d4b4a12881b9aa6ddb0
Diffstat (limited to 'uisimulator/common')
-rw-r--r--uisimulator/common/stubs.c69
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 @@
static bool storage_spinning = false;
-#if CONFIG_CODEC != SWCODEC
-#include "mp3_playback.h"
-
-void audio_set_buffer_margin(int seconds)
-{
- (void)seconds;
-}
-
-/* list of tracks in memory */
-#define MAX_ID3_TAGS (1<<4) /* Must be power of 2 */
-#define MAX_ID3_TAGS_MASK (MAX_ID3_TAGS - 1)
-
-static bool paused; /* playback is paused */
-static bool playing; /* We are playing an MP3 stream */
-
-bool audio_is_initialized = false;
-
-void mp3_init(int volume, int bass, int treble, int balance, int loudness,
- int avc, int channel_config, int stereo_width,
- int mdb_strength, int mdb_harmonics,
- int mdb_center, int mdb_shape, bool mdb_enable,
- bool superbass)
-{
- (void)volume;
- (void)bass;
- (void)treble;
- (void)balance;
- (void)loudness;
- (void)avc;
- (void)channel_config;
- (void)stereo_width;
- (void)mdb_strength;
- (void)mdb_harmonics;
- (void)mdb_center;
- (void)mdb_shape;
- (void)mdb_enable;
- (void)superbass;
- audio_is_initialized = true;
-
- playing = false;
- paused = true;
-}
-
-void mp3_play_pause(bool play)
-{
- (void)play;
-}
-
-void mp3_play_stop(void)
-{
-}
-
-unsigned char* mp3_get_pos(void)
-{
- return NULL;
-}
-
-void mp3_play_data(const void* start, size_t size,
- mp3_play_callback_t get_more)
-{
- (void)start; (void)size; (void)get_more;
-}
-
-void mp3_shutdown(void)
-{
-}
-
-#endif /* CODEC != SWCODEC */
-
int fat_startsector(void)
{
return 63;