XNA Creators Club Online
Page 1 of 1 (3 items)
Sort Posts: Previous Next

Does XAudio2 support 7.1?

Last post 04-03-2008 6:43 PM by imekon. 2 replies.
  • 03-24-2008 5:19 AM

    Does XAudio2 support 7.1?

    I've been looking into XAudio2 and I found on my Creative Soundblaster X-Fi card on Windows XP, XAudio2 reports 6 channels on the master voice, despite my system being set to 7.1. Is this a driver limitation on Windows XP or XAudio2?
    Pete Goodwin
  • 04-01-2008 1:23 PM In reply to

    Re: Does XAudio2 support 7.1?

    Answer

    XAudio2 goes through a set of heuristics to figure out the "optimal" output format for a given audio device.  On Xbox it is always 48Khz float 5.1, and on Vista it's a fixed format determined by the user in the audio control panel, but on XP we start from our preferred format (44Khz float 5.1) and work backwards from there until we find something supported by the driver.  It sounds like in this case the X-Fi is claiming to support 5.1 natively (i.e. it lets us create a 5.1 H/W sound buffer to render to), so we go no further.  However, you should be able to use 7.1 by asking for it explicitly when you create the mastering voice.

    Does that make sense?
    Dugan Porter (XAudio2 dev)

    Dugan Porter [MS]
    Game Audio Team
  • 04-03-2008 6:43 PM In reply to

    Re: Does XAudio2 support 7.1?

    Answer
    I found out today that I can ask for 8 voices, and the XAudio2 GetDeviceDetails reports 6, yet when I use SetOutputMatrix on the 8 channels, it works just fine.

    Seems like the X-Fi is misreporting how many channels it has. I upgraded the drivers to "web update 5", I believe the latest, and now GetDeviceDetails reports 8 channels, and works as before.


    Pete Goodwin
Page 1 of 1 (3 items) Previous Next
var gDomain='m.webtrends.com'; var gDcsId='dcschd84w10000w4lw9hcqmsz_8n3x'; var gTrackEvents=1; var gFpc='WT_FPC'; /*<\/scr"+"ipt>");} /*]]>*/
DCSIMG