1
0
Fork 0
forked from len0rd/rockbox

Added mpeg_set_pitch() stub to simulator.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2721 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Björn Stenberg 2002-10-18 14:03:11 +00:00
parent ac59dceeea
commit 5cb429ec60
3 changed files with 5 additions and 6 deletions

View file

@ -166,9 +166,7 @@ int on_screen(void)
pitch++;
if ( pitch > 2000 )
pitch = 2000;
#ifdef HAVE_MAS3587F
mpeg_set_pitch(pitch);
#endif
break;
case BUTTON_DOWN:
@ -178,9 +176,7 @@ int on_screen(void)
pitch--;
if ( pitch < 500 )
pitch = 500;
#ifdef HAVE_MAS3587F
mpeg_set_pitch(pitch);
#endif
break;
case BUTTON_ON | BUTTON_PLAY:

View file

@ -72,9 +72,7 @@ int mpeg_sound_numdecimals(int setting);
struct mp3entry* mpeg_current_track(void);
bool mpeg_has_changed_track(void);
int mpeg_status(void);
#ifdef HAVE_MAS3587F
void mpeg_set_pitch(int percent);
#endif
void mpeg_get_debugdata(struct mpeg_debug *dbgdata);
#define SOUND_VOLUME 0

View file

@ -170,3 +170,8 @@ void lcd_set_contrast( int x )
{
(void)x;
}
void mpeg_set_pitch(int pitch)
{
(void)pitch;
}