From ce65c30264be9683dd3a59b35730d2f31e02d37f Mon Sep 17 00:00:00 2001 From: John Glover Date: Thu, 21 Oct 2010 13:39:28 +0100 Subject: 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. --- sms/stocAnalysis.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sms/stocAnalysis.c') 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; -- cgit v1.2.3