LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Direct X Sound.

Hi,

Are there any pointers or examples out there using SDK, Direct X sound?

Regards,

John Cameron.
0 Kudos
Message 1 of 2
(3,181 Views)
There is an example on our website that shows how to play a .wav file with Windows SDK functions at the following link:

http://zone.ni.com/devzone/devzoneweb.nsf/opendoc?openagent&FA98923398CB2FEB8625687F005AE482&cat=86F1ECAEA043C2E6862567A900588436

There is also a company that has created a library for use in CVI to play wave files, they are located at the following site:

http://www.xon.de/eng/products/audio.htm

If you want to do more complex sound playing/file manipulation you might indeed want to use the DirectX8 Audio API that is documented at the following Microsoft Developer Network site:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dx8_c/hh/dx8_c/audio_front_4zvz.asp

Notice that v8.0 of DirectX Audio now has a COM based au
tomation interface that you can use the ActiveX library in CVI to create instances of "Audio objects" for sound file manipulation.

Jason F.
Applications Engineer
National Instruments
www.ni.com/ask
Message 2 of 2
(3,181 Views)