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:
parent
ac59dceeea
commit
5cb429ec60
3 changed files with 5 additions and 6 deletions
|
|
@ -166,9 +166,7 @@ int on_screen(void)
|
||||||
pitch++;
|
pitch++;
|
||||||
if ( pitch > 2000 )
|
if ( pitch > 2000 )
|
||||||
pitch = 2000;
|
pitch = 2000;
|
||||||
#ifdef HAVE_MAS3587F
|
|
||||||
mpeg_set_pitch(pitch);
|
mpeg_set_pitch(pitch);
|
||||||
#endif
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case BUTTON_DOWN:
|
case BUTTON_DOWN:
|
||||||
|
|
@ -178,9 +176,7 @@ int on_screen(void)
|
||||||
pitch--;
|
pitch--;
|
||||||
if ( pitch < 500 )
|
if ( pitch < 500 )
|
||||||
pitch = 500;
|
pitch = 500;
|
||||||
#ifdef HAVE_MAS3587F
|
|
||||||
mpeg_set_pitch(pitch);
|
mpeg_set_pitch(pitch);
|
||||||
#endif
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case BUTTON_ON | BUTTON_PLAY:
|
case BUTTON_ON | BUTTON_PLAY:
|
||||||
|
|
|
||||||
|
|
@ -72,9 +72,7 @@ int mpeg_sound_numdecimals(int setting);
|
||||||
struct mp3entry* mpeg_current_track(void);
|
struct mp3entry* mpeg_current_track(void);
|
||||||
bool mpeg_has_changed_track(void);
|
bool mpeg_has_changed_track(void);
|
||||||
int mpeg_status(void);
|
int mpeg_status(void);
|
||||||
#ifdef HAVE_MAS3587F
|
|
||||||
void mpeg_set_pitch(int percent);
|
void mpeg_set_pitch(int percent);
|
||||||
#endif
|
|
||||||
void mpeg_get_debugdata(struct mpeg_debug *dbgdata);
|
void mpeg_get_debugdata(struct mpeg_debug *dbgdata);
|
||||||
|
|
||||||
#define SOUND_VOLUME 0
|
#define SOUND_VOLUME 0
|
||||||
|
|
|
||||||
|
|
@ -170,3 +170,8 @@ void lcd_set_contrast( int x )
|
||||||
{
|
{
|
||||||
(void)x;
|
(void)x;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void mpeg_set_pitch(int pitch)
|
||||||
|
{
|
||||||
|
(void)pitch;
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue