Sign in to follow this  
Dawoodoz

Is DirectSound deprecated?

Recommended Posts

Dawoodoz    461
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
Endurion    5411
DirectSound still works nicely in Vista and later, you just have to allow software instead of hardware accelleration. The proper way is to check for hardware first, if that fails, fall back to software calculation.

Share this post


Link to post
Share on other sites
bubu LV    1436
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
Dawoodoz    461
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