On 07/16/2012 03:48 PM, Fons Adriaensen wrote:
On Mon, Jul 16, 2012 at 03:33:19PM +0200, Robin Gareus
wrote:
On 07/16/2012 02:37 PM, Fons Adriaensen wrote:
init.. Audio : Scanner : Oscillators : Overdrive
: Reverb : Whirl : Convolve : Segmentation fault
:-(
Oh. What architecture is that on? What version of libzita-convolver?
Will is also running Arch-Linux and it works for him, also with
convolution. I also can't reproduce this so far.
Linux zita1 3.4.4-3-ARCH #1 SMP PREEMPT Tue Jul 3 15:35:13 UTC 2012 i686 GNU/Linux
zita-convolver 3.1.0.
Mmh it's the same here. Also i686 and zita-convolver-3.1.0; I've tried
with gcc/g++ 4.6.3-1 and gcc/g++- 4.7.0-8 (Debian) and can not [yet]
reproduce the problem.
Here it's Linux 3.2.0-2-rt-686-pae #1 SMP PREEMPT RT
but that should not make a difference.
Works OK if compiled without convolution.
I had a quick look at the code (will dive deeper into it tonight).
This may be unrelated, but you *definitely* *must* *not* call
start_process() and stop_process() from a RT context !!
Thanks, fixed that.
start/stop was an easy workaround to do away with the artefacts that can
happen when bypassing and later re-enabling convolution.
Well, it would segfault trying to build the file-path to the IR sample
"IR-file-<SAMPLERATE>.wav" when jack reports a samplerate >
999999999Hz
but I think that's not it :)
robin