[SCM] calf/master: fixed fftw missing plan
js at users.alioth.debian.org
js at users.alioth.debian.org
Tue May 7 15:41:09 UTC 2013
The following commit has been merged in the master branch:
commit ab77356df355be686404d1b5669f604ed7507ec4
Author: Markus Schmidt <schmidt at boomshop.net>
Date: Fri Sep 7 04:48:11 2012 +0200
fixed fftw missing plan
diff --git a/src/modules.cpp b/src/modules.cpp
index 02785aa..22c20c5 100644
--- a/src/modules.cpp
+++ b/src/modules.cpp
@@ -1163,10 +1163,11 @@ bool analyzer_audio_module::get_graph(int index, int subindex, float *data, int
// run fft
// this takes our latest buffer and returns an array with
// non-normalized
- rfftw_one(fft_plan, fft_inL, fft_outL);
+ if (fft_plan)
+ rfftw_one(fft_plan, fft_inL, fft_outL);
//run fft for for right channel too. it is needed for stereo image
//and stereo difference modes
- if(_param_mode >= 3) {
+ if(_param_mode >= 3 and fft_plan) {
rfftw_one(fft_plan, fft_inR, fft_outR);
}
// ...and set some values for later use
--
calf audio plugins packaging
More information about the pkg-multimedia-commits
mailing list