I apologise, the top bit of code comes later on in the file I just happend to post it first.
And yes it crashs when trying to free the sound being free-ed from the channel.
Like I said this code is 3 or 4 years old, and used to work fine but I guess during all those updates to B3D something has changed.
Do we need to free channels ? or is it done automatically as soon as the sound is finished playing ?
I'm about as rusty as they come, havnt touched any code in 3 or 4 years so it may be something really silly.
And yes it crashs when trying to free the sound being free-ed from the channel.
Like I said this code is 3 or 4 years old, and used to work fine but I guess during all those updates to B3D something has changed.
Do we need to free channels ? or is it done automatically as soon as the sound is finished playing ?
I'm about as rusty as they come, havnt touched any code in 3 or 4 years so it may be something really silly.