diff options
author | Jens Arnold <amiconn@rockbox.org> | 2006-03-11 09:38:12 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2006-03-11 09:38:12 +0000 |
commit | dae698cad4d3b05edccd94c5dd6887997a691502 (patch) | |
tree | cebde795a90509820042dfb6bba332a55db8d69c /apps/plugin.h | |
parent | c8480433bcca58622da42077bcd539dfae9e3800 (diff) |
Ooops.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8997 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.h')
-rw-r--r-- | apps/plugin.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/plugin.h b/apps/plugin.h index ed4588d906..df23ed1c00 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -346,9 +346,11 @@ struct plugin_api { void (*pcm_set_frequency)(unsigned int frequency); bool (*pcm_is_playing)(void); void (*pcm_play_pause)(bool play); - void (*pcm_calculate_peaks)(int *left, int *right); #endif #endif /* !SIMULATOR */ +#if CONFIG_CODEC == SWCODEC + void (*pcm_calculate_peaks)(int *left, int *right); +#endif /* playback control */ void (*PREFIX(audio_play))(long offset); |