We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 248

Summary: Request for 7.1 audio support
Product: SDL Reporter: Forest Hale <lordhavoc>
Component: audioAssignee: Ryan C. Gordon <icculus>
Status: ASSIGNED --- QA Contact: Sam Lantinga <slouken>
Severity: major    
Priority: P1    
Version: 2.0.0   
Hardware: x86   
OS: All   

Description Forest Hale 2006-06-11 04:38:49 UTC
SDL has 5.1 audio support and I am requesting that 7.1 support be added, this should be very easy to do.

The full channel layout would be:
Front, Surround (aka Rear), Center/LFE, Side.  (see also bug #247 however)
Comment 1 Ryan C. Gordon 2009-12-15 22:37:34 UTC
Changing bug priorities...

--ryan.
Comment 2 Sam Lantinga 2013-05-21 00:48:00 UTC
Ryan, can you take a look and see what's left for 2.0 release?
Comment 3 Ryan C. Gordon 2013-05-21 21:44:30 UTC
As far as I know, 7.1 is supported now.

A brief check suggests these drivers are good to go:

- pulseaudio
- directsound
- xaudio2
- coreaudio

...which covers Linux, Windows, and Mac OS X.

These are problems, and might be important as fallbacks:
- winmm explicitly clamps to stereo (probably a limitation of the API).
- ALSA doesn't set up a channel swizzle for 7.1, and has a FIXME (see swizzle_alsa_channels() in src/audio/alsa/SDL_alsa_audio.c)

...other systems I didn't check (because who has a 7.1 setup on Android, or BeOS, or SunOS?).

--ryan.
Comment 4 Sam Lantinga 2013-05-21 23:47:57 UTC
Okay, I think once we have ALSA channel swizzling in, we're good to go.