XAudio and DirectSound Issue...
by Sean Burgoon · in Torque Game Engine · 01/03/2009 (1:23 am) · 4 replies
Hey all,
I just purchased TGEA, and am having a problem with audio. OpenAL works fine, but DirectSound and XAudio won't play any audio in StrongHold, and the other examples have the volume slider disabled (I'm assuming that means they aren't detecting a DirectSound/XAudio device). I tested my soundcard (a creative Emu 0404 PCI with latest drivers) with the DirectX SDK xaudio demos and they work perfectly fine... any idea why I might be having this problem? Thanks!
-Sean
I just purchased TGEA, and am having a problem with audio. OpenAL works fine, but DirectSound and XAudio won't play any audio in StrongHold, and the other examples have the volume slider disabled (I'm assuming that means they aren't detecting a DirectSound/XAudio device). I tested my soundcard (a creative Emu 0404 PCI with latest drivers) with the DirectX SDK xaudio demos and they work perfectly fine... any idea why I might be having this problem? Thanks!
-Sean
About the author
#2
You mention enabling an onboard HD Audio device... that means you have two audio output devices. Now that its working... which audio device is it using for XAudio and Dsound? If you disable the onboard device again does XAudio and Dsound stop working again?
01/03/2009 (8:33 pm)
Thats a pretty strange result.You mention enabling an onboard HD Audio device... that means you have two audio output devices. Now that its working... which audio device is it using for XAudio and Dsound? If you disable the onboard device again does XAudio and Dsound stop working again?
#3
01/03/2009 (10:03 pm)
I've tried it with both devices, and both work right now. I'll try disabling it again tonight (I'm not in a good state to reboot right now, way too many windows open working on stuff), and I'll post my results then, I'm equally confused as to what was going on, but the EMU cards are notoriously sketchy for games, so it's not unheard of. Or I could also be nuts... we'll find out soon ;)
#4
01/04/2009 (10:49 pm)
Well, it stopped working again before I even tried disabling the HD Audio device. It must be something screwy with the EMU card only, as torque sees the card as an option, it just won't play audio through it except in OpenAL. I'm guessing since the EMU card uses a fixed sampling rate (set in it's control software, right now set to 44khz instead of 48) it is somehow getting out of sync and not accepting the audio stream. I'll try debugging it later this week if I get time and see what happens, but for now at least I can use the onboard audio chip for tgea, and keep my emu card for music.
Torque Owner Sean Burgoon
-Sean