diff options
Diffstat (limited to 'apps/plugins/starfield.c')
-rw-r--r-- | apps/plugins/starfield.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/plugins/starfield.c b/apps/plugins/starfield.c index 5e832aa38a..e7bbb425be 100644 --- a/apps/plugins/starfield.c +++ b/apps/plugins/starfield.c | |||
@@ -422,7 +422,8 @@ int plugin_main(void) | |||
422 | /* Get the peaks. ( Borrowed from vu_meter ) */ | 422 | /* Get the peaks. ( Borrowed from vu_meter ) */ |
423 | #if (CONFIG_CODEC == SWCODEC) | 423 | #if (CONFIG_CODEC == SWCODEC) |
424 | int left_peak, right_peak; | 424 | int left_peak, right_peak; |
425 | rb->pcm_calculate_peaks(&left_peak, &right_peak); | 425 | rb->mixer_channel_calculate_peaks(PCM_MIXER_CHAN_PLAYBACK, |
426 | &left_peak, &right_peak); | ||
426 | #else | 427 | #else |
427 | int left_peak = rb->mas_codec_readreg(0xC); | 428 | int left_peak = rb->mas_codec_readreg(0xC); |
428 | int right_peak = rb->mas_codec_readreg(0xD); | 429 | int right_peak = rb->mas_codec_readreg(0xD); |