Gatus
04-27-2005, 09:50 PM
Hi, I happily got openAL working after reading the tutorials, however, there's one question that arose and that seems it was left wo. answer.
I have a fps camera and it moves when I press the up arrow key, I've a keydown checker (set to tell me which key is being pressed or released, in my main loop). How can I bind an openAL sound to it, so while it is pressed the sound plays but if released, it pauses?
Thanks.
I have a fps camera and it moves when I press the up arrow key, I've a keydown checker (set to tell me which key is being pressed or released, in my main loop). How can I bind an openAL sound to it, so while it is pressed the sound plays but if released, it pauses?
Thanks.
