diff options
Diffstat (limited to 'uisimulator/common')
-rw-r--r-- | uisimulator/common/stubs.c | 57 |
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 | ||
34 | extern char having_new_lcd; | 34 | extern char having_new_lcd; |
35 | static bool playing = false; | ||
36 | |||
37 | /* Stubs for PCM audio playback. */ | ||
38 | bool pcm_is_playing(void) | ||
39 | { | ||
40 | return playing; | ||
41 | } | ||
42 | |||
43 | void pcm_mute(bool state) | ||
44 | { | ||
45 | (void)state; | ||
46 | } | ||
47 | |||
48 | void pcm_play_pause(bool state) | ||
49 | { | ||
50 | (void)state; | ||
51 | } | ||
52 | |||
53 | bool pcm_is_paused(void) | ||
54 | { | ||
55 | return false; | ||
56 | } | ||
57 | |||
58 | void pcm_play_stop(void) | ||
59 | { | ||
60 | playing = false; | ||
61 | } | ||
62 | |||
63 | void pcm_init(void) | ||
64 | { | ||
65 | } | ||
66 | |||
67 | void (*sound_get_pcm)(unsigned char** start, long* size); | ||
68 | void pcm_play_data(void (*get_more)(unsigned char** start, long* size)) | ||
69 | { | ||
70 | sound_get_pcm = get_more; | ||
71 | playing = true; | ||
72 | } | ||
73 | |||
74 | long pcm_get_bytes_waiting(void) | ||
75 | { | ||
76 | return 0; | ||
77 | } | ||
78 | 35 | ||
79 | #if CONFIG_CODEC != SWCODEC | 36 | #if CONFIG_CODEC != SWCODEC |
80 | void audio_set_buffer_margin(int seconds) | 37 | void 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 | ||
87 | void sim_backlight(int value) | ||
88 | { | ||
89 | DEBUGF("backlight: %s\n", (value > 0) ? "on" : "off"); | ||
90 | } | ||
91 | #endif | ||
92 | |||
93 | #ifdef HAVE_REMOTE_LCD | ||
94 | void sim_remote_backlight(int value) | ||
95 | { | ||
96 | DEBUGF("remote backlight: %s\n", (value > 0) ? "on" : "off"); | ||
97 | } | ||
98 | #endif | ||
99 | |||
100 | int fat_startsector(void) | 43 | int fat_startsector(void) |
101 | { | 44 | { |
102 | return 63; | 45 | return 63; |