Smooth pitch result

This commit is contained in:
Flamefire committed 2014-04-25 16:11:40 +02:00
1 parent 29d2dce3fc
commit a85cdaf615
4 files changed
+82 -44

No files matched your search

+1 -1
View File
@@ -3,7 +3,7 @@
#include <cmath>
float* short2FloatArray(short* in, size_t len){
const float maxShort = 32767.0;
const float maxShort = 32767.0f;
float* result = static_cast<float*>(malloc(len * sizeof(float)));
float* curOut = result;