From: martin r. <fo...@ru...> - 2005-06-05 18:25:06
|
dear ramon, still no solution to the soundfile thing, but the next hack, which might help more than the other hacks. i am wondering whether it didn't come to my mind in the first place. attached file "overloads" the (open-snd) function in order to keep track of all opened sound files. additionally, there is a function which closes all files the hard way, via the objc-pointer hack. if you do this additionally to kill-context, you should be able to work as usual. if there are hard crashes and there are objc-errors when (collect)ing (i didn't have them in a short test), you may have to comment out the line (tell (snd-pointer (car sndlist)) 'release) but i hope it works with which would be the prove that there's a reference counting problem... sorry for not being able to find a real fix -- i am just running out of time and i am afraid of making things worse when touching the code in such a hurry. all the best, martin |