Need help testing XAudio2

Post Reply
spacy51
Senior Member
Posts: 371
Joined: Tue Mar 18, 2008 4:59 pm

Need help testing XAudio2

Post by spacy51 »

Hi there.

 

I have noticed a bug in my XAudio2 sound output. When I set my speaker setup to 4.0, 5.1 or 7.1, everything works fine, but when I set it to 2.0 or Headphones, XAudio2 won't play back any audio data, resulting in hangs when audio sync is enabled. I already did all I could for debugging, but I had no success in finding the mistake yet. The strange thing is, the example project from the SDK works fine with stereo, but it only uses a mono sample.

 

I would be glad if anyone could test the latest Win32/MFC build with XAudio2 and tell me if it is working for him. Please disable stereo to surround upmixing.

Oh, and please tell me what sound card you are using. I'm using an ASUS Xonar DX.

Last edited by spacy51 on Mon Sep 01, 2008 8:09 am, edited 1 time in total.
Boksha
Junior Member
Posts: 6
Joined: Sun Aug 03, 2008 6:24 pm

Need help testing XAudio2

Post by Boksha »

So that's speaker setup in the configuration panel set to "Desktop stereo speakers" or "Stereo headphones" and all VBA-M settings on default, right?

Seems to work fine here (build 634). I've got a Creative SB X-Fi XtremeGamer.

SCHUMI4EVER
Member
Posts: 109
Joined: Tue Mar 18, 2008 6:48 pm

Need help testing XAudio2

Post by SCHUMI4EVER »

What's stereo to surround upmixing? I don't recall seeing such an option in my settings...would that be EAX settings?

spacy51
Senior Member
Posts: 371
Joined: Tue Mar 18, 2008 4:59 pm

Need help testing XAudio2

Post by spacy51 »

Thanks Boksha, I also tested it with my OnBoard sound as well (Realtek ALC889A) and it works fine with 5.1 AND Stereo setup.

 

I already reviewed ALL of the XAudio2 code TWICE, checking every function call and every parameter, and I could not find a single piece of code which could logically block the voice in stereo mode from being played, so I assume this is a driver issue with the ASUS Xonar DX drivers, a weird one no less. Still, It won't go into my head, why the streaming example from the SDK DOES work on stereo on my Xonar DX [img]<fileStore.core_Emoticons>/emoticons/huh.png[/img]/emoticons/huh@2x.png 2x" width="20" height="20" /> I mean, I already compared it to my code and it is almost identical, this makes me sick, I tell you...

 

 

 

When stereo to surround upmixing is enabled in the XAudio2 config dialog in VBA-M, it will duplicate the stereo output to the front, the rear, and, if you have 7.0 or 7.1, to the side. The center gets a mono-mix from front-left + front-right. The subwoofer gets nothing, because a lowpass-filter was too complicated for me and because every good sound card driver has an option for bass managment anyway.

Post Reply