Re: Double-free in DLS unitialize
Re: Double-free in DLS unitialize
- Subject: Re: Double-free in DLS unitialize
- From: Michael Norris <email@hidden>
- Date: Thu, 26 Jun 2003 22:48:38 +1200
I would still love to hear about any workaround if there is one.
I've coded up a workaround, which is simply to never bother disposing a
MusicSequence.
Instead, I go the environmentally-friendly track: I recycle.
Instead of disposing a MusicSequence, then, I simply clear out the
sequence's track using:
MusicTrackClear (track,0.0,kMusicTimeStamp_EndOfTrack);
Now I add my new sequence notes as per usual. It's much,much faster
that way too...
Thanks to Bill for a post ages ago that suggested this route. I don't
know how useful this will be to anyone else, however....
-mike
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.