summaryrefslogtreecommitdiff
path: root/apps/codecs.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs.h')
-rw-r--r--apps/codecs.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/codecs.h b/apps/codecs.h
index 1a03139be8..5878ca9185 100644
--- a/apps/codecs.h
+++ b/apps/codecs.h
@@ -240,7 +240,7 @@ struct codec_api {
240#endif 240#endif
241#if CONFIG_HWCODEC == MASNONE 241#if CONFIG_HWCODEC == MASNONE
242 void (*pcm_play_data)(const unsigned char *start, int size, 242 void (*pcm_play_data)(const unsigned char *start, int size,
243 void (*get_more)(unsigned char** start, long*size)); 243 void (*get_more)(unsigned char** start, long*size));
244 void (*pcm_play_stop)(void); 244 void (*pcm_play_stop)(void);
245 void (*pcm_set_frequency)(unsigned int frequency); 245 void (*pcm_set_frequency)(unsigned int frequency);
246 bool (*pcm_is_playing)(void); 246 bool (*pcm_is_playing)(void);
@@ -326,6 +326,8 @@ struct codec_api {
326#ifdef ROCKBOX_HAS_LOGF 326#ifdef ROCKBOX_HAS_LOGF
327 void (*logf)(const char *fmt, ...); 327 void (*logf)(const char *fmt, ...);
328#endif 328#endif
329
330 void *(*memchr)(const void *s1, int c, size_t n);
329}; 331};
330 332
331/* defined by the codec loader (codec.c) */ 333/* defined by the codec loader (codec.c) */