aboutsummaryrefslogtreecommitdiff
path: root/src/ui/shadedvisual.h
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2010-10-08 18:06:38 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2010-10-08 18:06:38 +0000
commitc4749f20a5ad31ed8c68c11547120a0d1da45a8f (patch)
tree805248511deeea91f7da2d2881f9afefe9f21b1a /src/ui/shadedvisual.h
parent767150cfe9403eb432ea82377664abda214d6e04 (diff)
downloadqmmp-c4749f20a5ad31ed8c68c11547120a0d1da45a8f.tar.gz
qmmp-c4749f20a5ad31ed8c68c11547120a0d1da45a8f.tar.bz2
qmmp-c4749f20a5ad31ed8c68c11547120a0d1da45a8f.zip
dynamic buffer size
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1928 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/ui/shadedvisual.h')
-rw-r--r--src/ui/shadedvisual.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/ui/shadedvisual.h b/src/ui/shadedvisual.h
index e276b8b24..0592ec78f 100644
--- a/src/ui/shadedvisual.h
+++ b/src/ui/shadedvisual.h
@@ -27,7 +27,7 @@
class QTimer;
class QPixmap;
class Skin;
-class VisualNode;
+//class VisualNode;
/**
@author Ilya Kotov <forkotov02@hotmail.ru>
@@ -54,12 +54,14 @@ private slots:
void updateSkin();
private:
- void process (VisualNode *node);
+ void process (short *l, short *r);
void draw (QPainter *);
Skin *m_skin;
QTimer *m_timer;
QPixmap m_pixmap;
- QList <VisualNode*> m_nodes;
+ short *m_left_buffer;
+ short *m_right_buffer;
+ int m_buffer_at;
double m_l, m_r;
int m_ratio;