summaryrefslogtreecommitdiff
path: root/uisimulator/x11/mpeg.c
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2002-06-25 13:26:04 +0000
committerBjörn Stenberg <bjorn@haxx.se>2002-06-25 13:26:04 +0000
commitbb9aaf50654bb32184d289b18f110cf9fd6687d1 (patch)
tree188943fa5d709086a89de94f1b3f98ed12979bea /uisimulator/x11/mpeg.c
parent3f9c7c2ab5edef46346fed58807307ea4499b39c (diff)
downloadrockbox-bb9aaf50654bb32184d289b18f110cf9fd6687d1.tar.gz
rockbox-bb9aaf50654bb32184d289b18f110cf9fd6687d1.zip
A step towards WPS
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1184 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator/x11/mpeg.c')
-rw-r--r--uisimulator/x11/mpeg.c18
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 */
25static struct mp3entry dummy;
24 26
25void mpeg_volume(void) 27void 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
51void mpeg_pause(void)
52{
53}
54
55void mpeg_resume(void)
56{
46} 57}
47 58
48#endif 59#endif
60
61struct mp3entry* mpeg_current_track(void)
62{
63 return &dummy;
64}