diff options
Diffstat (limited to 'uisimulator/x11/mpeg.c')
-rw-r--r-- | uisimulator/x11/mpeg.c | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/uisimulator/x11/mpeg.c b/uisimulator/x11/mpeg.c index 0f3680d737..e1bce1e22c 100644 --- a/uisimulator/x11/mpeg.c +++ b/uisimulator/x11/mpeg.c | |||
@@ -16,11 +16,13 @@ | |||
16 | * KIND, either express or implied. | 16 | * KIND, either express or implied. |
17 | * | 17 | * |
18 | ****************************************************************************/ | 18 | ****************************************************************************/ |
19 | 19 | #include <stdbool.h> | |
20 | #include "debug.h" | 20 | #include "debug.h" |
21 | #include "id3.h" | ||
21 | 22 | ||
22 | /* This file is for emulating some of the mpeg controlling functions of | 23 | /* This file is for emulating some of the mpeg controlling functions of |
23 | the target */ | 24 | the target */ |
25 | static struct mp3entry dummy; | ||
24 | 26 | ||
25 | void mpeg_volume(void) | 27 | void mpeg_volume(void) |
26 | { | 28 | { |
@@ -43,6 +45,20 @@ void mpeg_play(char *tune) | |||
43 | { | 45 | { |
44 | DEBUGF("We instruct the MPEG thread to play %s for us\n", | 46 | DEBUGF("We instruct the MPEG thread to play %s for us\n", |
45 | tune); | 47 | tune); |
48 | mp3info(&dummy, tune); | ||
49 | } | ||
50 | |||
51 | void mpeg_pause(void) | ||
52 | { | ||
53 | } | ||
54 | |||
55 | void mpeg_resume(void) | ||
56 | { | ||
46 | } | 57 | } |
47 | 58 | ||
48 | #endif | 59 | #endif |
60 | |||
61 | struct mp3entry* mpeg_current_track(void) | ||
62 | { | ||
63 | return &dummy; | ||
64 | } | ||