diff options
| author | Jörg Hohensohn <hohensoh@rockbox.org> | 2004-09-28 22:13:26 +0000 |
|---|---|---|
| committer | Jörg Hohensohn <hohensoh@rockbox.org> | 2004-09-28 22:13:26 +0000 |
| commit | 593cc00447af20197a1b7bc009af205a0f065576 (patch) | |
| tree | f1793614a17b4e654d26b0c95b7842616ed8d919 /apps/plugin.h | |
| parent | e6f83b695056d0afd7f76377d9d5fcbc4ac02dbc (diff) | |
| download | rockbox-593cc00447af20197a1b7bc009af205a0f065576.zip rockbox-593cc00447af20197a1b7bc009af205a0f065576.tar.gz rockbox-593cc00447af20197a1b7bc009af205a0f065576.tar.bz2 rockbox-593cc00447af20197a1b7bc009af205a0f065576.tar.xz | |
a hell of a commit: changed several HAVE_xx configuration flags into multiple choice values (keypad, tuner, CPU, h/w codec)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5126 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.h')
| -rw-r--r-- | apps/plugin.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugin.h b/apps/plugin.h index 078dc12..445427f 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); -#ifdef HAVE_MAS3587F +#if CONFIG_HWCODEC == MAS3587F 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 */ -#ifdef HAVE_MAS3587F +#if CONFIG_HWCODEC == MAS3587F void (*mpeg_set_pitch)(int pitch); unsigned short (*peak_meter_scale_value)(unsigned short val, |