summaryrefslogtreecommitdiffstats
path: root/khotkeys/shared/voicesignature.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-07 04:10:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-07 04:10:07 +0000
commitfd3a982e26813f5bcc82c7e89ce6fa2ad44432bf (patch)
tree9eda848e56fcb862fdfdf479adeccd95b6fe387a /khotkeys/shared/voicesignature.cpp
parent02f67d0e1355b79b1806746efb0f2f640e57f13d (diff)
downloadtdebase-fd3a982e26813f5bcc82c7e89ce6fa2ad44432bf.tar.gz
tdebase-fd3a982e26813f5bcc82c7e89ce6fa2ad44432bf.zip
Revert automated changes
Sorry guys, they are just not ready for prime time Work will continue as always git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1212480 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'khotkeys/shared/voicesignature.cpp')
-rw-r--r--khotkeys/shared/voicesignature.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/khotkeys/shared/voicesignature.cpp b/khotkeys/shared/voicesignature.cpp
index 4f4266b7e..773f28731 100644
--- a/khotkeys/shared/voicesignature.cpp
+++ b/khotkeys/shared/voicesignature.cpp
@@ -154,14 +154,14 @@ static TQMemArray<double> fft(const Sound& sound, unsigned int start, unsigned i
{
samples[f]=sound.at(start2+rev_carry)* hamming(rev_carry, size);
// KDEBUG(rev_carry);
- int tqmask = size>>1; // N / 2
+ int mask = size>>1; // N / 2
// add 1 backwards
- while (rev_carry >= tqmask)
+ while (rev_carry >= mask)
{
- rev_carry -= tqmask; // turn off this bit
- tqmask >>= 1;
+ rev_carry -= mask; // turn off this bit
+ mask >>= 1;
}
- rev_carry += tqmask;
+ rev_carry += mask;
}
samples[size-1]=sound.at(start2+size-1)*hamming(size-1, size);