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/plugin.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'apps/plugin.h') diff --git a/apps/plugin.h b/apps/plugin.h index 0707393b59..45f03555ec 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -50,6 +50,7 @@ #ifdef HAVE_LCD_BITMAP #include "widgets.h" #endif +#include "sound.h" #ifdef PLUGIN #if defined(DEBUG) || defined(SIMULATOR) @@ -228,7 +229,7 @@ struct plugin_api { int (*memcmp)(const void *s1, const void *s2, size_t n); /* sound */ - void (*mpeg_sound_set)(int setting, int value); + void (*sound_set)(int setting, int value); #ifndef SIMULATOR void (*mp3_play_data)(const unsigned char* start, int size, void (*get_more)(unsigned char** start, int* size)); void (*mp3_play_pause)(bool play); @@ -254,7 +255,7 @@ struct plugin_api { int (*mpeg_get_file_pos)(void); unsigned long (*mpeg_get_last_header)(void); #if (CONFIG_HWCODEC == MAS3587F) || (CONFIG_HWCODEC == MAS3539F) - void (*mpeg_set_pitch)(int pitch); + void (*sound_set_pitch)(int pitch); #endif /* MAS communication */ -- cgit v1.2.3