diff options
| author | Tim Redfern <tim@eclectronics.org> | 2013-09-10 14:31:04 +0100 |
|---|---|---|
| committer | Tim Redfern <tim@eclectronics.org> | 2013-09-10 14:31:04 +0100 |
| commit | 438b85dba5c7b59c736a8c2b69667370afcc20da (patch) | |
| tree | 4d7fa4b0c0c3d3f683050f159e0f1942b29a97fc /rotord/src/nodes_audio_analysis.cpp | |
| parent | 9ef45919f0eb3bebeb6ee1ee6e1da2d859b43790 (diff) | |
free audio frame on finish export
Diffstat (limited to 'rotord/src/nodes_audio_analysis.cpp')
| -rw-r--r-- | rotord/src/nodes_audio_analysis.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rotord/src/nodes_audio_analysis.cpp b/rotord/src/nodes_audio_analysis.cpp index 7e735f8..85894d9 100644 --- a/rotord/src/nodes_audio_analysis.cpp +++ b/rotord/src/nodes_audio_analysis.cpp @@ -44,7 +44,8 @@ namespace Rotor{ } if (sample==samples_per_column) { //finished a column //get root-mean - double mean=pow(accum/samples,0.5); + //why does valgrind complain here about uninitialised vars + double mean=pow(accum/samples,0.5f); vectordata[column]=mean; column++; sample=0; |
