Sign in to follow this  
Dawoodoz

Is DirectSound deprecated?

Recommended Posts

Microsoft claim that the XACT sound engine do not replace DirectSound but most of the things in DirectSound does not work in Vista and later.
I tried to use the XACT engine without the bloated, buggy and game specific authoring tool but I can't even play a sound twice without getting stuck in a finshed state since Microsoft did not intend that someone would actually use XACT without the tools.
I can't link to a sound engine that does not come with Windows 7 because I want my graphics engine to have everything in one ActiveX component.

Is DirectSound deprecated or should I just deactivate hardware acceleration somehow?

Share this post


Link to post
Share on other sites
Instead of XACT you can try XAudio2 (+X3DAudio if you need 3d effect parameter calculations). It is more low-level API than XACT and is closer to what DirectSound is.

Share this post


Link to post
Share on other sites
I tried using DirectSound again and recieved E_ABORT when calling IDirectSoundBuffer8::Play.

Edit: The reason was that the primary buffer was allocated in a dead code section. :)

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