summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2004-09-29 19:51:41 +0000
committerJens Arnold <amiconn@rockbox.org>2004-09-29 19:51:41 +0000
commiteaa1f73c6daf7e0c066a21b87384cb85cfa33538 (patch)
tree5c1bc2e624c6d086efbc2021430c9ab84584ae15 /apps/plugin.h
parent6cb799174b121ad3505b6e323aa8e360fffcc7d5 (diff)
downloadrockbox-eaa1f73c6daf7e0c066a21b87384cb85cfa33538.zip
rockbox-eaa1f73c6daf7e0c066a21b87384cb85cfa33538.tar.gz
rockbox-eaa1f73c6daf7e0c066a21b87384cb85cfa33538.tar.bz2
rockbox-eaa1f73c6daf7e0c066a21b87384cb85cfa33538.tar.xz
Added MAS3539F support (Ondio SP)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5129 a1c6a512-1295-4272-9138-f99709370657
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 445427f..52a060d 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -239,7 +239,7 @@ struct plugin_api {
int (*mas_writemem)(int bank, int addr, const unsigned long* src, int len);
int (*mas_readreg)(int reg);
int (*mas_writereg)(int reg, unsigned int val);
-#if CONFIG_HWCODEC == MAS3587F
+#if (CONFIG_HWCODEC == MAS3587F) || (CONFIG_HWCODEC == MAS3539F)
int (*mas_codec_writereg)(int reg, unsigned int val);
int (*mas_codec_readreg)(int reg);
#endif
@@ -277,7 +277,7 @@ struct plugin_api {
/* new stuff at the end, sort into place next time
the API gets incompatible */
-#if CONFIG_HWCODEC == MAS3587F
+#if (CONFIG_HWCODEC == MAS3587F) || (CONFIG_HWCODEC == MAS3539F)
void (*mpeg_set_pitch)(int pitch);
unsigned short (*peak_meter_scale_value)(unsigned short val,