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 | |
parent | c8480433bcca58622da42077bcd539dfae9e3800 (diff) | |
download | rockbox-dae698cad4d3b05edccd94c5dd6887997a691502.tar.gz rockbox-dae698cad4d3b05edccd94c5dd6887997a691502.zip |
Ooops.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8997 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | apps/plugin.c | 4 | ||||
-rw-r--r-- | apps/plugin.h | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/apps/plugin.c b/apps/plugin.c index 63097a2589..e7758df51c 100644 --- a/apps/plugin.c +++ b/apps/plugin.c | |||
@@ -292,9 +292,11 @@ static const struct plugin_api rockbox_api = { | |||
292 | pcm_set_frequency, | 292 | pcm_set_frequency, |
293 | pcm_is_playing, | 293 | pcm_is_playing, |
294 | pcm_play_pause, | 294 | pcm_play_pause, |
295 | pcm_calculate_peaks, | ||
296 | #endif | 295 | #endif |
297 | #endif | 296 | #endif |
297 | #if CONFIG_CODEC == SWCODEC | ||
298 | pcm_calculate_peaks, | ||
299 | #endif | ||
298 | 300 | ||
299 | /* playback control */ | 301 | /* playback control */ |
300 | PREFIX(audio_play), | 302 | PREFIX(audio_play), |
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 { | |||
346 | void (*pcm_set_frequency)(unsigned int frequency); | 346 | void (*pcm_set_frequency)(unsigned int frequency); |
347 | bool (*pcm_is_playing)(void); | 347 | bool (*pcm_is_playing)(void); |
348 | void (*pcm_play_pause)(bool play); | 348 | void (*pcm_play_pause)(bool play); |
349 | void (*pcm_calculate_peaks)(int *left, int *right); | ||
350 | #endif | 349 | #endif |
351 | #endif /* !SIMULATOR */ | 350 | #endif /* !SIMULATOR */ |
351 | #if CONFIG_CODEC == SWCODEC | ||
352 | void (*pcm_calculate_peaks)(int *left, int *right); | ||
353 | #endif | ||
352 | 354 | ||
353 | /* playback control */ | 355 | /* playback control */ |
354 | void (*PREFIX(audio_play))(long offset); | 356 | void (*PREFIX(audio_play))(long offset); |