Knock out at least some red/yellow from r30097.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30098 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
a2b6703a36
commit
7996d6d3f9
3 changed files with 6 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue