Jump to content
  • Advertisement

NaturalBornCamper

Member
  • Content Count

    10
  • Joined

  • Last visited

Community Reputation

223 Neutral

About NaturalBornCamper

  • Rank
    Member

Personal Information

  1. NaturalBornCamper

    Which one is used, Direct Sound/Audio/Music?

    Sorry, DirectSound I mean.. it's the same as xAudio2? It is the module DirectSound uses?
  2. NaturalBornCamper

    Program crashes when no speakers are plugged in

    Quote:Original post by Evil Steve I thought the problem was that the audio device doesn't show up when no speakers are connected, so you'd get the same behaviour on a PC with no audio device installed (Which aren't that uncommon), and the crash is caused by not checking return values, which should always be done anyway. Maybe they did that to make us into better programmers then..
  3. NaturalBornCamper

    Program crashes when no speakers are plugged in

    It's not a member variable and it's not the name of the variable in the program, I just put it like that for the post since in the end it returns the sound module, sorry if that was confusing. Don't worry haha, I know about the assert, I put it there myself. Anyway, I think I'll have to continue without sound as you suggested. I just thought that maybe someone had an idea how to fool DirectSound so I wouldn't have to edit all the references to the sound device.
  4. NaturalBornCamper

    Program crashes when no speakers are plugged in

    TEsted a few different configurations guys, and it's not only in Vista, it's the same with Windows7 and XP, but in XP, it only happens when you disable your sound card in the device manager. So the error happens at that point: mSoundDevice = DirectSoundCreate8( NULL, &mDirectSound, NULL ); assert( mSoundDevice == DS_OK ); // That would make it crash here
  5. NaturalBornCamper

    Which one is used, Direct Sound/Audio/Music?

    Thanks a lot! DirectAudio is the same as xAudio2, right?
  6. NaturalBornCamper

    Program crashes when no speakers are plugged in

    Found the spot where it's doing that already, but can't figure out why, that's why I thought maybe someone already had that problem.
  • 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!