edit: Never mind. It must have been fixed in build 244, despite that it wasn't on the "fixes" list. How embarrassing for me :(
Printable View
edit: Never mind. It must have been fixed in build 244, despite that it wasn't on the "fixes" list. How embarrassing for me :(
As yet neither examples have crashed for me but I'll try again later. I'm using a Core2 Duo 2.4GHz, 2GB RAM and an MAudio Revolution 5.1 soundcard.
No crash for me either (even with the machine I used to reproduce your previous crash).
Or wait, never mind! It must have been fixed in build 244 (I was running 243). How embarrassing!
Hmm... I don't remember any fix about sounds in the build 244 (except for the problem with the DEP option).
Yet, as soon as I upgraded from build 243 to 244 I stopped getting the crashes that I had all the time before. I will try again next week to see if I can reproduce it.
...unless something I installed replaced earlier replaced some 243 dll with a 242 one somewhere on the system... Sounds unlikely, but I can't think of many other things.
Click Team is so awsome, they don't even realize when they fix a problem! :D
I did notice a problem though when changing volumes... even if I set all the channels to vol of 0, there are some clicks and beeps...
You need to change the volume before you play the sample (in other words, use "set channel volume". A sample file plays instantly when the "play sample" command is triggered, it does not even wait until all actions in the event has finished. Even a delay of a few milliseconds between the "play sample" and "set sample volume" will cause a digital "pop", and that delay do occur naturally.
To forget about that a sound's properties (volume, pan) must already be set before it's played to prevent clicks is a common mistake though - the DirectSound 2 object had it too.
However, if you can set up your own channel allocation, that won't get in the way :)
Hmm, I'll have to post my example up here... I set the channel volumes at the start of frame and it still clips there.
Enabling "compress sounds" can also result in weird pops and noises, but it might have been fixed in build 244.
Edit: I obviously still hear some nasty clicks every now and then when "compress sounds" is enabled. Can it be related to that?
Not sure, I don't have "compress sounds" enabled on mine (I think, I'll double check that as well)... I get home from work at around 2PM Eastern Time... I'll post what I have then (though the file is about 8MB large at this point I'll upload it to my personal webserver ^_^;)
Also remember that a normal "play sample" (rather than "play sample on channel") resets the channel volume of the channel it's being played on.
Hmm, then maybe thats my issue...
Here is my file anyways, but I'm going to look into that right now actually:
http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=37858&Main=3785 8#Post37858