summaryrefslogtreecommitdiff
path: root/apps/plugins/fft
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/fft')
-rw-r--r--apps/plugins/fft/fft.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/fft/fft.c b/apps/plugins/fft/fft.c
index 1c4e1b4c20..f7d8943576 100644
--- a/apps/plugins/fft/fft.c
+++ b/apps/plugins/fft/fft.c
@@ -1186,8 +1186,8 @@ static inline bool fft_init_fft_lib(void)
1186static inline bool fft_get_fft(void) 1186static inline bool fft_get_fft(void)
1187{ 1187{
1188 int count; 1188 int count;
1189 int16_t *value = 1189 const int16_t *value =
1190 (int16_t *) rb->mixer_channel_get_buffer(PCM_MIXER_CHAN_PLAYBACK, &count); 1190 rb->mixer_channel_get_buffer(PCM_MIXER_CHAN_PLAYBACK, &count);
1191 /* This block can introduce discontinuities in our data. Meaning, the 1191 /* This block can introduce discontinuities in our data. Meaning, the
1192 * FFT will not be done a continuous segment of the signal. Which can 1192 * FFT will not be done a continuous segment of the signal. Which can
1193 * be bad. Or not. 1193 * be bad. Or not.