diff options
Diffstat (limited to 'apps/plugins/oscilloscope.c')
-rw-r--r-- | apps/plugins/oscilloscope.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/apps/plugins/oscilloscope.c b/apps/plugins/oscilloscope.c index 8e14f26bd5..2af70204a1 100644 --- a/apps/plugins/oscilloscope.c +++ b/apps/plugins/oscilloscope.c @@ -902,19 +902,11 @@ static int last_right; static void get_peaks(int *left, int *right) { -#if CONFIG_CODEC == SWCODEC static struct pcm_peaks peaks; rb->mixer_channel_calculate_peaks(PCM_MIXER_CHAN_PLAYBACK, &peaks); *left = peaks.left; *right = peaks.right; -#elif defined (SIMULATOR) - *left = rand() % 0x8000; - *right = rand() % 0x8000; -#else - *left = 0; - *right = 0; -#endif } static long get_next_delay(void) |