From bb9aaf50654bb32184d289b18f110cf9fd6687d1 Mon Sep 17 00:00:00 2001 From: Björn Stenberg Date: Tue, 25 Jun 2002 13:26:04 +0000 Subject: A step towards WPS git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1184 a1c6a512-1295-4272-9138-f99709370657 --- uisimulator/x11/mpeg.c | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'uisimulator/x11/mpeg.c') 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 @@ * KIND, either express or implied. * ****************************************************************************/ - +#include #include "debug.h" +#include "id3.h" /* This file is for emulating some of the mpeg controlling functions of the target */ +static struct mp3entry dummy; void mpeg_volume(void) { @@ -43,6 +45,20 @@ void mpeg_play(char *tune) { DEBUGF("We instruct the MPEG thread to play %s for us\n", tune); + mp3info(&dummy, tune); +} + +void mpeg_pause(void) +{ +} + +void mpeg_resume(void) +{ } #endif + +struct mp3entry* mpeg_current_track(void) +{ + return &dummy; +} -- cgit v1.2.3