summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index 445427ffd5..52a060d428 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -239,7 +239,7 @@ struct plugin_api {
239 int (*mas_writemem)(int bank, int addr, const unsigned long* src, int len); 239 int (*mas_writemem)(int bank, int addr, const unsigned long* src, int len);
240 int (*mas_readreg)(int reg); 240 int (*mas_readreg)(int reg);
241 int (*mas_writereg)(int reg, unsigned int val); 241 int (*mas_writereg)(int reg, unsigned int val);
242#if CONFIG_HWCODEC == MAS3587F 242#if (CONFIG_HWCODEC == MAS3587F) || (CONFIG_HWCODEC == MAS3539F)
243 int (*mas_codec_writereg)(int reg, unsigned int val); 243 int (*mas_codec_writereg)(int reg, unsigned int val);
244 int (*mas_codec_readreg)(int reg); 244 int (*mas_codec_readreg)(int reg);
245#endif 245#endif
@@ -277,7 +277,7 @@ struct plugin_api {
277 /* new stuff at the end, sort into place next time 277 /* new stuff at the end, sort into place next time
278 the API gets incompatible */ 278 the API gets incompatible */
279 279
280#if CONFIG_HWCODEC == MAS3587F 280#if (CONFIG_HWCODEC == MAS3587F) || (CONFIG_HWCODEC == MAS3539F)
281 void (*mpeg_set_pitch)(int pitch); 281 void (*mpeg_set_pitch)(int pitch);
282 282
283 unsigned short (*peak_meter_scale_value)(unsigned short val, 283 unsigned short (*peak_meter_scale_value)(unsigned short val,