Jump to content
  • Advertisement

Archived

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

draqza

[dxaudio] Why does it hang?

This topic is 6197 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''m working on the sound engine for a game using DXAudio (Dx8) and all I have are the initialization functions. I did a basic WinMain to make sure the constructor would work right, and it seemed to run fine. That''s when I remembered that I hadn''t put any error trapping in the DX Audio Init portion, and when I added a result-catching HRESULT and error checking, it started to hang in the init. Here''s the callstack that seems relevant: DMIME! 7730e440() CSoundEngine::DirectXAudioInit() line 78 + 37 bytes CSoundEngine::CSoundEngine() line 20 + 8 bytes I created a global pointer to CSoundEngine, and then inside WinMain, to initialize it, I use pSoundEngine=new CSoundEngine; Any ideas? -- WNDCLASSEX Reality; ... ... Reality.lpfnWndProc=ComputerGames; ... ... RegisterClassEx(&Reality); Unable to register Reality...what''s wrong? --------- Dan Upton Lead Designer WolfHeart Software

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!