[Implemented] PlaySound Modification
Posted: Fri Jul 25, 2003 9:54 am
Greetings to one and all.
Playsound is wonderful, but seems to have some limitations that have been discussed before. If the same playsound command is called quickly and repeatedly, the sound does not have a chance to play.
I know the windows API version of playsound has more options, and it would be nice to see those echoed in the PB version. I would especially like to see is an option where playsound will return if the sound it is playing is still in progrss from a previous playsound call. This would be especially useful for games where we use fast loops with input, and playsound may be called repeatedly.
(Yes, i know we've got the windows API, but it would be a nice feature, especially if it was multi platform....)
My apologies if this has already been mentioned.
Playsound is wonderful, but seems to have some limitations that have been discussed before. If the same playsound command is called quickly and repeatedly, the sound does not have a chance to play.
I know the windows API version of playsound has more options, and it would be nice to see those echoed in the PB version. I would especially like to see is an option where playsound will return if the sound it is playing is still in progrss from a previous playsound call. This would be especially useful for games where we use fast loops with input, and playsound may be called repeatedly.
(Yes, i know we've got the windows API, but it would be a nice feature, especially if it was multi platform....)
My apologies if this has already been mentioned.
