diff options
| author | Michael Sevakis <jethead71@rockbox.org> | 2011-06-29 07:06:10 +0000 |
|---|---|---|
| committer | Michael Sevakis <jethead71@rockbox.org> | 2011-06-29 07:06:10 +0000 |
| commit | 7996d6d3f99ad80385fdc85438d23139e5569d3c (patch) | |
| tree | 3643a9d5397d268bc02d67ccf82c8d0ceba32afa /apps | |
| parent | a2b6703a369f6cdbfec1f150c408dadc877631fb (diff) | |
| download | rockbox-7996d6d3f99ad80385fdc85438d23139e5569d3c.zip rockbox-7996d6d3f99ad80385fdc85438d23139e5569d3c.tar.gz rockbox-7996d6d3f99ad80385fdc85438d23139e5569d3c.tar.bz2 rockbox-7996d6d3f99ad80385fdc85438d23139e5569d3c.tar.xz | |
Knock out at least some red/yellow from r30097.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30098 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
| -rw-r--r-- | apps/misc.c | 2 | ||||
| -rw-r--r-- | apps/plugin.c | 3 | ||||
| -rw-r--r-- | apps/plugin.h | 2 |
3 files changed, 6 insertions, 1 deletions
diff --git a/apps/misc.c b/apps/misc.c index a0817d7..dfee05f 100644 --- a/apps/misc.c +++ b/apps/misc.c @@ -264,7 +264,9 @@ static bool clean_shutdown(void (*callback)(void *), void *parameter) #endif { bool batt_safe = battery_level_safe(); +#if CONFIG_CODEC != SWCODEC || defined(HAVE_RECORDING) int audio_stat = audio_status(); +#endif FOR_NB_SCREENS(i) { diff --git a/apps/plugin.c b/apps/plugin.c index 10cb926..bfb7f0e 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -778,9 +778,10 @@ static const struct plugin_api rockbox_api = { /* new stuff at the end, sort into place next time the API gets incompatible */ - +#if CONFIG_CODEC == SWCODEC mixer_channel_status, mixer_channel_get_buffer, +#endif }; int plugin_load(const char* plugin, const void* parameter) diff --git a/apps/plugin.h b/apps/plugin.h index 113296c..aa39829 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -908,8 +908,10 @@ struct plugin_api { /* new stuff at the end, sort into place next time the API gets incompatible */ +#if CONFIG_CODEC == SWCODEC enum channel_status (*mixer_channel_status)(enum pcm_mixer_channel channel); void * (*mixer_channel_get_buffer)(enum pcm_mixer_channel channel, int *count); +#endif }; /* plugin header */ |