1
0
Fork 0
forked from len0rd/rockbox

Added MAS3539F support (Ondio SP)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5129 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jens Arnold 2004-09-29 19:51:41 +00:00
parent 6cb799174b
commit eaa1f73c6d
12 changed files with 195 additions and 132 deletions

View file

@ -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,