|
From: Pascal G. <evi...@gm...> - 2011-02-23 14:45:18
|
On Wed, Feb 23, 2011 at 11:30 AM, Julien Eychenne <jey...@gm...> wrote: > As a follow up to my previous message, I modified example3.c to play 3 > seconds inside a file twice (source code attached). I crashes on the > same assertion I reported yesterday: > > Assertion failed: (fft_len == -1), function init_fft_cache, file > effects_i_dsp.c, line 111. > Abort trap > > Does anyone get the same behaviour? You are initializing SoX twice. Fixed your example by moving the sox_init() outside the loop. Tested and working with "alsa" instead of "coreaudio". Cheers, -Pascal -- Homepage (http://organact.mine.nu) Debian GNU/Linux (http://www.debian.org) COMunité/LACIME: École de technologie supérieure (http://www.comunite.ca) Integrated Microsystems Laboratory: McGill (http://www.iml.ece.mcgill.ca) |