From 674eaca5ef59625f90088da006eca4d10e2bea56 Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Fri, 1 Apr 2005 13:41:03 +0000 Subject: Moved the mpeg_sound_xxx() functions to sound.c and renamed them to sound_xxx() git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6240 a1c6a512-1295-4272-9138-f99709370657 --- apps/screens.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'apps/screens.c') diff --git a/apps/screens.c b/apps/screens.c index 0efb30a806..f56c28a165 100644 --- a/apps/screens.c +++ b/apps/screens.c @@ -44,6 +44,7 @@ #include "screens.h" #include "debug.h" #include "led.h" +#include "sound.h" #ifdef HAVE_MMC #include "ata_mmc.h" #endif @@ -437,7 +438,7 @@ int pitch_screen(void) pitch++; if ( pitch > 2000 ) pitch = 2000; - mpeg_set_pitch(pitch); + sound_set_pitch(pitch); break; case BUTTON_DOWN: @@ -447,7 +448,7 @@ int pitch_screen(void) pitch--; if ( pitch < 500 ) pitch = 500; - mpeg_set_pitch(pitch); + sound_set_pitch(pitch); break; case BUTTON_ON | BUTTON_PLAY: @@ -468,28 +469,28 @@ int pitch_screen(void) case BUTTON_ON | BUTTON_RIGHT: if ( pitch < 2000 ) { pitch += 20; - mpeg_set_pitch(pitch); + sound_set_pitch(pitch); } break; case BUTTON_RIGHT | BUTTON_REL: if ( pitch > 500 ) { pitch -= 20; - mpeg_set_pitch(pitch); + sound_set_pitch(pitch); } break; case BUTTON_ON | BUTTON_LEFT: if ( pitch > 500 ) { pitch -= 20; - mpeg_set_pitch(pitch); + sound_set_pitch(pitch); } break; case BUTTON_LEFT | BUTTON_REL: if ( pitch < 2000 ) { pitch += 20; - mpeg_set_pitch(pitch); + sound_set_pitch(pitch); } break; -- cgit v1.2.3