diff options
| author | Linus Nielsen Feltzing <linus@haxx.se> | 2005-04-01 13:41:03 +0000 |
|---|---|---|
| committer | Linus Nielsen Feltzing <linus@haxx.se> | 2005-04-01 13:41:03 +0000 |
| commit | 674eaca5ef59625f90088da006eca4d10e2bea56 (patch) | |
| tree | b0f02cec358ce1c506fb6d2256e2db059c7b6b6a /apps/plugin.h | |
| parent | 88d5aab5a1098c5636584ddf06bd3012dc8c5b4c (diff) | |
| download | rockbox-674eaca5ef59625f90088da006eca4d10e2bea56.zip rockbox-674eaca5ef59625f90088da006eca4d10e2bea56.tar.gz rockbox-674eaca5ef59625f90088da006eca4d10e2bea56.tar.bz2 rockbox-674eaca5ef59625f90088da006eca4d10e2bea56.tar.xz | |
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
Diffstat (limited to 'apps/plugin.h')
| -rw-r--r-- | apps/plugin.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/plugin.h b/apps/plugin.h index 0707393..45f0355 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 */ |