Sign in to follow this  
Guest hazon17

Sounds in gauges

Recommended Posts

Hi guys !Could anyone be so kind to explain me how to program a sound in gauges (FSACOF) ?I know the PLAYSOUND statement, but i need to know how to play more sounds in the same time (LOOPING) without the last stopping the first.Thank you in advance ;-)

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

If this is in C++, I recommend you do a forum and web search on FSSound, and Dai Griffith. You can also use DirectSound if you have the DirectX SDK, but it's a little more involved.Both FSSound and DirectSound support the looping of sound buffers.

Share this post


Link to post
Share on other sites

So kind Etienne.Yes, i know that tutorial, but i've troubles in compiling because of (probably) different version of FS (that tutorial refers to FS98 and FS2002, not to FS9)Have you some source to send me via e-mail as EXAMPLES ?IF you agree you can send me some code to hazon17@hotmail.comThank you again ;-)

Share this post


Link to post
Share on other sites

Hi,What is the presently used method in gauge sound programming? Earlier it was using FSSound.dll, but I can not even found sd2gau17.zip around the internet nowadays (I lost it from my PC).Are you using DirectSound SDK or another method?Yes, end where is sd2gau17.zip?MODIFICATION:Oh, yes, I am looking for a C SDK, not XML solution.And i would like to be able to change volume while the sound is played.Gabor

Share this post


Link to post
Share on other sites

sd2gau17.zip is in the same place it's always been:http://www.flightsim.comI use gaugesound.dll, which utilizes DirectX in a very transparent way.

Share this post


Link to post
Share on other sites

>sd2gau17.zip is in the same place it's always been:>http://www.flightsim.comOK, I found it finally. flightsim.com structure is not very tidy.>I use gaugesound.dll, which utilizes DirectX in a very>transparent way.Where can I found programming instructions (SDK) for this?Gabor

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