diff options
Diffstat (limited to 'apps/plugin.h')
-rw-r--r-- | apps/plugin.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/plugin.h b/apps/plugin.h index c67f49ebda..e0a7b083b9 100644 --- a/apps/plugin.h +++ b/apps/plugin.h | |||
@@ -255,6 +255,16 @@ struct plugin_api { | |||
255 | unsigned char *buf, int num_frames, | 255 | unsigned char *buf, int num_frames, |
256 | unsigned long header_template, | 256 | unsigned long header_template, |
257 | void (*progressfunc)(int), bool generate_toc); | 257 | void (*progressfunc)(int), bool generate_toc); |
258 | |||
259 | #ifndef SIMULATOR | ||
260 | int (*mas_readmem)(int bank, int addr, unsigned long* dest, int len); | ||
261 | int (*mas_writemem)(int bank, int addr, unsigned long* src, int len); | ||
262 | int (*mas_readreg)(int reg); | ||
263 | int (*mas_writereg)(int reg, unsigned int val); | ||
264 | #ifdef HAVE_MAS3587F | ||
265 | int (*mas_codec_writereg)(int reg, unsigned int val); | ||
266 | #endif | ||
267 | #endif | ||
258 | }; | 268 | }; |
259 | 269 | ||
260 | /* defined by the plugin loader (plugin.c) */ | 270 | /* defined by the plugin loader (plugin.c) */ |