aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Visual/analyzer/analyzer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/Visual/analyzer/analyzer.h')
-rw-r--r--src/plugins/Visual/analyzer/analyzer.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/plugins/Visual/analyzer/analyzer.h b/src/plugins/Visual/analyzer/analyzer.h
index 7de645ef5..d2c2d6cd1 100644
--- a/src/plugins/Visual/analyzer/analyzer.h
+++ b/src/plugins/Visual/analyzer/analyzer.h
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2007-2013 by Ilya Kotov *
+ * Copyright (C) 2007-2015 by Ilya Kotov *
* forkotov02@hotmail.ru *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -41,7 +41,7 @@ public:
Analyzer( QWidget *parent = 0);
virtual ~Analyzer();
- void add(unsigned char *data, qint64 size, int chan);
+ void add(float *data, size_t samples, int chan);
void clear();
@@ -58,7 +58,7 @@ private:
virtual void closeEvent (QCloseEvent *);
void paintEvent(QPaintEvent *);
void mousePressEvent(QMouseEvent *e);
- void process(short *l, short *r);
+ void process(float *l, float *r);
void draw(QPainter *p);
void createMenu();
QTimer *m_timer;
@@ -68,8 +68,8 @@ private:
double m_peaks_falloff;
double m_analyzer_falloff;
bool m_show_peaks;
- short *m_left_buffer;
- short *m_right_buffer;
+ float *m_left_buffer;
+ float *m_right_buffer;
int m_buffer_at;
int m_cols, m_rows;
bool m_update;