summaryrefslogtreecommitdiffstats
path: root/uisimulator/win32
diff options
context:
space:
mode:
authorFelix Arends <edx@rockbox.org>2002-10-16 16:45:38 +0000
committerFelix Arends <edx@rockbox.org>2002-10-16 16:45:38 +0000
commit61a32e9ea35fac05e8dbf486cd1dc57574ab2be7 (patch)
treee35d57f9120fa0c7122531b9e2cdc5838952bace /uisimulator/win32
parent12c1981728dcacf1e82d0d3c5044c6fb1b343091 (diff)
downloadrockbox-61a32e9ea35fac05e8dbf486cd1dc57574ab2be7.tar.gz
rockbox-61a32e9ea35fac05e8dbf486cd1dc57574ab2be7.zip
we dont need this file any longer!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2687 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator/win32')
-rw-r--r--uisimulator/win32/mpeg.c155
1 files changed, 0 insertions, 155 deletions
diff --git a/uisimulator/win32/mpeg.c b/uisimulator/win32/mpeg.c
deleted file mode 100644
index 11fa98c02b..0000000000
--- a/uisimulator/win32/mpeg.c
+++ /dev/null
@@ -1,155 +0,0 @@
-/***************************************************************************
- * __________ __ ___.
- * Open \______ \ ____ ____ | | _\_ |__ _______ ___
- * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
- * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
- * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
- * \/ \/ \/ \/ \/
- * $Id$
- *
- * Copyright (C) 2002 Felix Arends
- *
- * All files in this archive are subject to the GNU General Public License.
- * See the file COPYING in the source tree root for full license agreement.
- *
- * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
- * KIND, either express or implied.
- *
- ****************************************************************************/
-
-/* This file is for emulating some of the mpeg controlling functions of
- the target */
-
-#include "debug.h"
-#include "mpeg.h"
-
-static char *units[] =
-{
- "%", /* Volume */
- "%", /* Bass */
- "%" /* Treble */
-};
-
-static int numdecimals[] =
-{
- 0, /* Volume */
- 0, /* Bass */
- 0 /* Treble */
-};
-
-static int minval[] =
-{
- 0, /* Volume */
- 0, /* Bass */
- 0 /* Treble */
-};
-
-static int maxval[] =
-{
- 50, /* Volume */
- 50, /* Bass */
- 50 /* Treble */
-};
-
-static int defaultval[] =
-{
- 70/2, /* Volume */
- 50/2, /* Bass */
- 50/2 /* Treble */
-};
-
-char *mpeg_sound_unit(int setting)
-{
- return units[setting];
-}
-
-int mpeg_sound_numdecimals(int setting)
-{
- return numdecimals[setting];
-}
-
-int mpeg_sound_min(int setting)
-{
- return minval[setting];
-}
-
-int mpeg_sound_max(int setting)
-{
- return maxval[setting];
-}
-
-int mpeg_sound_default(int setting)
-{
- return defaultval[setting];
-}
-
-void mpeg_volume(void)
-{
-}
-
-void mpeg_bass(void)
-{
-}
-
-void mpeg_treble(void)
-{
-}
-
-void mpeg_stop(void)
-{
-}
-
-void mpeg_resume(void)
-{
-}
-
-void mpeg_pause(void)
-{
-}
-
-void mpeg_next (void)
-{
-}
-
-void mpeg_prev (void)
-{
-}
-
-struct mp3entry* mpeg_current_track(void)
-{
- return 0;
-}
-
-void mpeg_sound_set(int setting, int value)
-{
-}
-
-#ifndef MPEGPLAY
-void mpeg_play(char *tune)
-{
- DEBUGF("We instruct the MPEG thread to play %s for us\n",
- tune);
-}
-
-int mpeg_val2phys(int setting, int value)
-{
- int result = 0;
-
- switch(setting)
- {
- case SOUND_VOLUME:
- result = value * 2;
- break;
-
- case SOUND_BASS:
- result = value * 2;
- break;
-
- case SOUND_TREBLE:
- result = value * 2;
- break;
- }
- return result;
-}
-
-#endif