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 - Request for 7.1 audio support
Summary: Request for 7.1 audio support
Status: ASSIGNED
Alias: None
Product: SDL
Classification: Unclassified
Component: audio (show other bugs)
Version: 2.0.0
Hardware: x86 All
: P1 major
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-11 04:38 UTC by Forest Hale
Modified: 2013-05-21 23:47 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.