summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index 3755018d6d..30ecfc7963 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -43,6 +43,7 @@
43#include "id3.h" 43#include "id3.h"
44#include "mpeg.h" 44#include "mpeg.h"
45#include "mp3_playback.h" 45#include "mp3_playback.h"
46#include "pcm_playback.h"
46#include "settings.h" 47#include "settings.h"
47#include "thread.h" 48#include "thread.h"
48#include "playlist.h" 49#include "playlist.h"
@@ -317,11 +318,13 @@ struct plugin_api {
317#if CONFIG_KEYPAD == IRIVER_H100_PAD 318#if CONFIG_KEYPAD == IRIVER_H100_PAD
318 bool (*button_hold)(void); 319 bool (*button_hold)(void);
319#endif 320#endif
320#if (CONFIG_HWCODEC == MASNONE) && !defined(SIMULATOR) 321#if (CONFIG_HWCODEC == MASNONE)
321 void (*pcm_play_data)(const unsigned char *start, int size, 322 void (*pcm_play_data)(const unsigned char *start, int size,
322 void (*get_more)(unsigned char** start, long*size)); 323 void (*get_more)(unsigned char** start, long*size));
323 void (*pcm_play_stop)(void); 324 void (*pcm_play_stop)(void);
325 void (*pcm_set_frequency)(unsigned int frequency);
324 bool (*pcm_is_playing)(void); 326 bool (*pcm_is_playing)(void);
327 void (*pcm_set_volume)(int volume);
325#endif 328#endif
326}; 329};
327 330