How to get an XML gauge to play sounds?

FSSC, Airport 2.*, CfgEdit, etc. Get to grips with designing Scenery & Panels here!

How to get an XML gauge to play sounds?

Postby microlight » Sun Feb 12, 2006 2:58 pm

Hi all,

I'm trying to write a gauge in XML to play .wav files as cabin announcements - but having no luck so far. Anybody out there give me a steer on how to tell the gauge that it needs to play a sound file?

Thanks,
Martyn
User avatar
microlight
Major
Major
 
Posts: 2076
Joined: Mon Aug 19, 2002 6:24 pm
Location: Southern UK

Re: How to get an XML gauge to play sounds?

Postby dsdawson » Sun Feb 12, 2006 6:18 pm

There is no way to do this directly with XML.  I created a C based gauge that will help you.  Have a look in the Avsim library for dsd_xml_sound2.zip.

Regards,

Doug Dawson
dsdawson
Ground hog
Ground hog
 
Posts: 26
Joined: Sun Feb 12, 2006 6:33 pm

Re: How to get an XML gauge to play sounds?

Postby microlight » Mon Feb 13, 2006 2:12 am

Doug - thanks very much; just what I'm looking for!

;)
User avatar
microlight
Major
Major
 
Posts: 2076
Joined: Mon Aug 19, 2002 6:24 pm
Location: Southern UK


Return to Scenery & Panel Design

Who is online

Users browsing this forum: No registered users and 137 guests