X-Mailer: Sylpheed version 0.9.8claws (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit
i got both readanysf~ and tbfft2 running, changing largealloc ... well, since i don't know exactly, how you try to allocate the memory, i can't patch your code, but it should have something to do with the recursive execution of new() i suppose it should be run new( bytes - LARGEALLOC ) or new( bytes - LARGEALLOC - sizeof(size_t))
well, readanysf~ isn't working very well ... i can play back a soundfile, but if i try to open another soundfile, it segfaults ... but this segfault is caused by the thread handling:
mutex.Unlock(); // should be safe without locking, if (readsf != NULL) { // this will keep pd from blocking when //deleting a ReadMadUrl delete(readsf); }
this delete causes the segfault ... i'm not into threaded programming ... and i have no idea, why it worked with earlier versions of flext and doesn't any more ... (delete uses the c++ libraries) ... maybe thomas has some insights ... anyway, i'll check thomas' fix (probably in tomorrow's cvs)
cheers...
Tim mailto:TimBlechmann@gmx.de ICQ: 96771783 -- The only people for me are the mad ones, the ones who are mad to live, mad to talk, mad to be saved, desirous of everything at the same time, the ones who never yawn or say a commonplace thing, but burn, burn, burn, like fabulous yellow roman candles exploding like spiders across the stars and in the middle you see the blue centerlight pop and everybody goes "Awww!" Jack Kerouac