Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

billybob

How does OpenAL wrap Directsound (sometimes) without requiring HWND?

This topic is 5226 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I have a pluggable system in my game where different APIs can be used to get things done. anyways, when I create an AL device with direct sound, it works, without requiring an HWND. but, when I try to write a directsound plugin, I have to get the HWND from somewhere. I thought of a possible hack around it, by passing GetDesktopWindow() to SetCooperativeLevel, and then using STICKYFOCUS for ALL my buffers, but like I said this seems very shitty. although, this does seem like what openAL does, as the sound behavior is the same... any ideas? [edited by - billybob on March 26, 2004 7:46:35 AM]

Share this post


Link to post
Share on other sites
Advertisement

  • Advertisement
×

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!