diff options
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 0707393b59..45f03555ec 100644 --- a/apps/plugin.h +++ b/apps/plugin.h | |||
@@ -50,6 +50,7 @@ | |||
50 | #ifdef HAVE_LCD_BITMAP | 50 | #ifdef HAVE_LCD_BITMAP |
51 | #include "widgets.h" | 51 | #include "widgets.h" |
52 | #endif | 52 | #endif |
53 | #include "sound.h" | ||
53 | 54 | ||
54 | #ifdef PLUGIN | 55 | #ifdef PLUGIN |
55 | #if defined(DEBUG) || defined(SIMULATOR) | 56 | #if defined(DEBUG) || defined(SIMULATOR) |
@@ -228,7 +229,7 @@ struct plugin_api { | |||
228 | int (*memcmp)(const void *s1, const void *s2, size_t n); | 229 | int (*memcmp)(const void *s1, const void *s2, size_t n); |
229 | 230 | ||
230 | /* sound */ | 231 | /* sound */ |
231 | void (*mpeg_sound_set)(int setting, int value); | 232 | void (*sound_set)(int setting, int value); |
232 | #ifndef SIMULATOR | 233 | #ifndef SIMULATOR |
233 | void (*mp3_play_data)(const unsigned char* start, int size, void (*get_more)(unsigned char** start, int* size)); | 234 | void (*mp3_play_data)(const unsigned char* start, int size, void (*get_more)(unsigned char** start, int* size)); |
234 | void (*mp3_play_pause)(bool play); | 235 | void (*mp3_play_pause)(bool play); |
@@ -254,7 +255,7 @@ struct plugin_api { | |||
254 | int (*mpeg_get_file_pos)(void); | 255 | int (*mpeg_get_file_pos)(void); |
255 | unsigned long (*mpeg_get_last_header)(void); | 256 | unsigned long (*mpeg_get_last_header)(void); |
256 | #if (CONFIG_HWCODEC == MAS3587F) || (CONFIG_HWCODEC == MAS3539F) | 257 | #if (CONFIG_HWCODEC == MAS3587F) || (CONFIG_HWCODEC == MAS3539F) |
257 | void (*mpeg_set_pitch)(int pitch); | 258 | void (*sound_set_pitch)(int pitch); |
258 | #endif | 259 | #endif |
259 | 260 | ||
260 | /* MAS communication */ | 261 | /* MAS communication */ |