summaryrefslogtreecommitdiff
path: root/uisimulator/common/stubs.c
diff options
context:
space:
mode:
Diffstat (limited to 'uisimulator/common/stubs.c')
-rw-r--r--uisimulator/common/stubs.c57
1 files changed, 0 insertions, 57 deletions
diff --git a/uisimulator/common/stubs.c b/uisimulator/common/stubs.c
index d4862a0f85..b06c812772 100644
--- a/uisimulator/common/stubs.c
+++ b/uisimulator/common/stubs.c
@@ -32,49 +32,6 @@
32#include "ata.h" /* for volume definitions */ 32#include "ata.h" /* for volume definitions */
33 33
34extern char having_new_lcd; 34extern char having_new_lcd;
35static bool playing = false;
36
37/* Stubs for PCM audio playback. */
38bool pcm_is_playing(void)
39{
40 return playing;
41}
42
43void pcm_mute(bool state)
44{
45 (void)state;
46}
47
48void pcm_play_pause(bool state)
49{
50 (void)state;
51}
52
53bool pcm_is_paused(void)
54{
55 return false;
56}
57
58void pcm_play_stop(void)
59{
60 playing = false;
61}
62
63void pcm_init(void)
64{
65}
66
67void (*sound_get_pcm)(unsigned char** start, long* size);
68void pcm_play_data(void (*get_more)(unsigned char** start, long* size))
69{
70 sound_get_pcm = get_more;
71 playing = true;
72}
73
74long pcm_get_bytes_waiting(void)
75{
76 return 0;
77}
78 35
79#if CONFIG_CODEC != SWCODEC 36#if CONFIG_CODEC != SWCODEC
80void audio_set_buffer_margin(int seconds) 37void audio_set_buffer_margin(int seconds)
@@ -83,20 +40,6 @@ void audio_set_buffer_margin(int seconds)
83} 40}
84#endif 41#endif
85 42
86#ifdef CONFIG_BACKLIGHT
87void sim_backlight(int value)
88{
89 DEBUGF("backlight: %s\n", (value > 0) ? "on" : "off");
90}
91#endif
92
93#ifdef HAVE_REMOTE_LCD
94void sim_remote_backlight(int value)
95{
96 DEBUGF("remote backlight: %s\n", (value > 0) ? "on" : "off");
97}
98#endif
99
100int fat_startsector(void) 43int fat_startsector(void)
101{ 44{
102 return 63; 45 return 63;