fluidxtra crashes Director
Date: May 01, 2008 04:31PM
Hi, Antoine,
First, I want to say the fluidxtra is working well for me as a midixtra substitute so far. However, I have found a situation where it causes Director to crash in authoring mode. I'm using fluidxtra 5.2 in Director MX 2004 on a PPC Mac running OS X 10.4.11.
The first crashes occurred when I was experimenting with Todd Rundgren's midifile parser/player for the fluidxtra. I traced the problem to code in the callback handler where the fluidxtra instance "synth" was set to 0. The crashes stopped when I commented out the "synth = 0" statement.
I experienced a similar problem in my own code, too. After calling synth.Free() in my callback method, "synth = 0" or "synth = void" causes a crash, but "put synth" (after calling free()) yields -- <Xtra child "fluidsynth" 2 933d090> in the message window. So, I can't seem to test for the instance's existence without causing a crash.
Thanks,
Peter