diff options
author | John Glover <glover.john@gmail.com> | 2010-10-21 13:39:28 +0100 |
---|---|---|
committer | John Glover <glover.john@gmail.com> | 2010-10-21 13:39:28 +0100 |
commit | ce65c30264be9683dd3a59b35730d2f31e02d37f (patch) | |
tree | 90aaf2e77526af9ba099e76175956d0dd6a37633 /sms/stocAnalysis.c | |
parent | b46b988f164f983fc889c7bc0c96953e4609d27a (diff) | |
download | simpl-ce65c30264be9683dd3a59b35730d2f31e02d37f.tar.gz simpl-ce65c30264be9683dd3a59b35730d2f31e02d37f.tar.bz2 simpl-ce65c30264be9683dd3a59b35730d2f31e02d37f.zip |
Changed from floats to doubles in the C/C++ code, makes Python integration a bit easier. Fixed a bug that would cause SndObjSynthesis to crash if peak values were floats.
Diffstat (limited to 'sms/stocAnalysis.c')
-rw-r--r-- | sms/stocAnalysis.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sms/stocAnalysis.c b/sms/stocAnalysis.c index 27d5e4b..d50df48 100644 --- a/sms/stocAnalysis.c +++ b/sms/stocAnalysis.c @@ -36,7 +36,7 @@ int sms_stocAnalysis ( int sizeWindow, sfloat *pResidual, sfloat *pWindow, SMS_D { int i; sfloat fMag = 0.0; - float fStocNorm; + sfloat fStocNorm; static sfloat *pMagSpectrum; static int sizeWindowStatic = 0; |