summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2005-04-01 13:41:03 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2005-04-01 13:41:03 +0000
commit674eaca5ef59625f90088da006eca4d10e2bea56 (patch)
treeb0f02cec358ce1c506fb6d2256e2db059c7b6b6a /apps/plugin.h
parent88d5aab5a1098c5636584ddf06bd3012dc8c5b4c (diff)
downloadrockbox-674eaca5ef59625f90088da006eca4d10e2bea56.tar.gz
rockbox-674eaca5ef59625f90088da006eca4d10e2bea56.zip
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.h5
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 */