Jump to content
Sign in to follow this  
Xeo

How get SOUND state from XML ?

Recommended Posts

HelloAnybody know how can I get state of sound in FS from XML or C++ gauge ?I found key events SOUND_OFF,SOUND_ON,SOUND_SET,SOUND_TOGGLEBut I can't find how I can see in what state is sound subsystem in msfs.Alex.[a href=http://www.sibwings.com/]http://www.sibwings.com/banner/sw_developer.gif[/a]

Share this post


Link to post
Share on other sites

Hi all, my first post here:)Privet Xeo. Try this one; place sms_SoundTest!SoundSwitchTest and/or sms_SoundTest!SoundTest somewhere in panel.cfg and in xml check for (L:SoundSwitchTest,enum) and/or (L:SoundTest,enum).Expl. is here http://forums.avsim.net/dcboard.php?az=sho...&topic_id=10935, offsets are 0xb20 for sound switch state and 0xb24 sound flag.Btw, do somebody know how to WRITE globals?HTH,L.

Share this post


Link to post
Share on other sites

>I can't open your link.>Ok, but if I want to get this value without FUSIPC and other>third party gauges and modules. It's possible ?Hmmm... if you have problems figuring out that you simply needed to remove the comma at the end of the link he gave, I have some serious doubts about the rest... ;)http://forums.avsim.net/dcboard.php?az=sho...&topic_id=10935


Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator

Share this post


Link to post
Share on other sites

Sorry for etra comma in link...Zip attachment in my post above contain complete gau for sound state grab, and working just fine in my fs9 - without FSUIPC.:)

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  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...