Jump to content
  • Advertisement
Sound Master

Audio : XACT or XAudio2

Recommended Posts

Can someone explain the differences between XACT and XAudio2 ?

I look to the demos : the XAudio you fill in the whole name .wav when playing, cant you load the wave file in advance ?

With XACT i dont see wave files ?, can it also play wavefiles ?


Share this post

Link to post
Share on other sites

Cross-platform Audio Creation Tool (XACT) is an audio programming library and engine released by Microsoft as part of the DirectX SDK.[1] It is a high-level audio library for authoring/playing audio that is written to use Xaudio on the Xbox, DirectSound on Windows XP, and the new audio stack on Windows Vista and Windows 7. Xaudio is an Xbox-only API designed for optimal digital signal processing. XACT also includes X3DAudio, a spatialization helper library available on both platforms, Windows and the Xbox. XACT was originally developed for Xbox development, and was later modified to work for Microsoft Windows development as well.

The original release of XACT was in 2002 and shipped as part of the Xbox SDK only and was originally called the "Xbox Audio Creation Tool."

Source: Wikipedia

XAudio2 is the successor of the old DirectSound component from the DX SDK and now available on Windows 7/8/8.1 and 10 using the WASAPI audio interface built into Windows Vista and beyond. There also exists the good old WAVEAPI from Windows NT up to WIndows XP.

Those are for directly talking to the low level OS audio features and are embedded into several cross-platform libraries like PortAudio. Then you also have the choice to use the OpenAL audio driver.

Those are all more or less capable of playing wave files because this file format is the most plain you have these days without any heavy compression or sample frames.

If you have never heared of them and/or don't know what an audio mixer in system level is or even didn't try to google for a tutorial on how to play wav file using xaudio2, I would suggest to read about it and do a tutorial before doing any further steps. You can't code well on a platform you don't know about it's technology

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

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!