summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Melanson <mike@multimedia.cx>2003-01-14 06:30:43 +0000
committerMike Melanson <mike@multimedia.cx>2003-01-14 06:30:43 +0000
commitc642aa5f4e28f7a174ceb2f8dd391409bc497df7 (patch)
treebca22c5acb0e4c80711a1c3565ab9b21116202f0
parentee1b975841f76cb7fe9b7da771c4655654d9d826 (diff)
downloadxine-lib-c642aa5f4e28f7a174ceb2f8dd391409bc497df7.tar.gz
xine-lib-c642aa5f4e28f7a174ceb2f8dd391409bc497df7.tar.bz2
oops, plot the right channel data
CVS patchset: 3914 CVS date: 2003/01/14 06:30:43
-rw-r--r--src/post/visualizations/fftscope.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/post/visualizations/fftscope.c b/src/post/visualizations/fftscope.c
index 5abbe2935..e95fd1f64 100644
--- a/src/post/visualizations/fftscope.c
+++ b/src/post/visualizations/fftscope.c
@@ -22,7 +22,7 @@
*
* FFT code by Steve Haehnichen, originally licensed under GPL v1
*
- * $Id: fftscope.c,v 1.1 2003/01/14 03:41:00 tmmm Exp $
+ * $Id: fftscope.c,v 1.2 2003/01/14 06:30:43 tmmm Exp $
*
*/
@@ -333,7 +333,7 @@ static void draw_fftscope(post_plugin_fftscope_t *this, vo_frame_t *frame) {
for (i = 0; i < NUMSAMPLES / 2; i++) {
map_ptr = ((FFT_HEIGHT - 1) * FFT_WIDTH + i * 2) / 2;
- amp_int = (int)amp(i, this->wave[0], LOG_BITS);
+ amp_int = (int)amp(i, this->wave[1], LOG_BITS);
amp_int >>= 4;
if (amp_int > 127)
amp_int = 127;