diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-11 06:00:15 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-11 06:00:15 +0000 |
commit | b1057f437bf65300831a0ccb45b920787c6b318d (patch) | |
tree | f8a73db06ca1180d0da0ba6dfbe786197b4f4bc3 /noatun/modules/winskin/vis | |
parent | 4ddfca384ced9ad654213aef9dc2c3973720b980 (diff) | |
download | tdemultimedia-b1057f437bf65300831a0ccb45b920787c6b318d.tar.gz tdemultimedia-b1057f437bf65300831a0ccb45b920787c6b318d.zip |
TQt4 port kdemultimedia
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1236079 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'noatun/modules/winskin/vis')
-rw-r--r-- | noatun/modules/winskin/vis/realFFT.cpp | 6 | ||||
-rw-r--r-- | noatun/modules/winskin/vis/visQueue.h | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/noatun/modules/winskin/vis/realFFT.cpp b/noatun/modules/winskin/vis/realFFT.cpp index 330280ea..383831b7 100644 --- a/noatun/modules/winskin/vis/realFFT.cpp +++ b/noatun/modules/winskin/vis/realFFT.cpp @@ -20,7 +20,7 @@ RealFFT::RealFFT(int fftlen) { int i; int temp; - int mask; + int tqmask; /* * FFT size is only half the number of data points @@ -43,8 +43,8 @@ RealFFT::RealFFT(int fftlen) { for(i=0;i<Points/2;i++) { temp=0; - for(mask=Points/4;mask>0;mask >>= 1) - temp=(temp >> 1) + (i&mask ? Points/2 : 0); + for(tqmask=Points/4;tqmask>0;tqmask >>= 1) + temp=(temp >> 1) + (i&tqmask ? Points/2 : 0); BitReversed[i]=temp; } diff --git a/noatun/modules/winskin/vis/visQueue.h b/noatun/modules/winskin/vis/visQueue.h index 2f737fd1..9360805a 100644 --- a/noatun/modules/winskin/vis/visQueue.h +++ b/noatun/modules/winskin/vis/visQueue.h @@ -11,8 +11,8 @@ */ -#ifndef __VISQUEUE_H -#define __VISQUEUE_H +#ifndef __VISTQUEUE_H +#define __VISTQUEUE_H #include <vector> |