Sign in to follow this  
Guest Visade

New at C programming vs. sound gauges

Recommended Posts

Help AVSIM continue to serve you!
Please donate today!

That depends on what method you are using to play the file to begin with... Some, such as gaugesound.dll provide a start/stop flag in the parameter list.One method that will always work however is to simply program your own flag:if (condition && playonce) { play sound; playonce = true; }Use whatever code triggers the sound to set playonce = false...

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this