Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Music & Sound FX / Question about playing wav file

Author
Message
changoo
User Banned
Posted: 20th Jan 2011 04:04
I write my own code to run the wav file. BUt i dunno how to play the wav for only once? which function should i use? if i put the alsourcestop after the alsourceplay, it produces no sound..which function should i use ?

SoftMotion3D
AGK Developer
18
Years of Service
User Offline
Joined: 24th Aug 2005
Location: Calgary,Alberta
Posted: 20th Jan 2011 04:30
in darkbasic?

play sound #

it should only play once

and to test if its done playing

if sound playing(#)=0 then ..... its not playing any more.

Development & Editting

Login to post a reply

Server time is: 2024-03-29 14:47:11
Your offset time is: 2024-03-29 14:47:11