Skip to content

Request for 7.1 audio support #55

@SDLBugzilla

Description

@SDLBugzilla

This bug report was migrated from our old Bugzilla tracker.

Reported in version: 2.0.0
Reported for operating system, platform: All, x86

Comments on the original bug report:

On 2006-06-11 04:38:49 +0000, Forest Hale wrote:

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)

On 2009-12-15 22:37:34 +0000, Ryan C. Gordon wrote:

Changing bug priorities...

--ryan.

On 2013-05-21 00:48:00 +0000, Sam Lantinga wrote:

Ryan, can you take a look and see what's left for 2.0 release?

On 2013-05-21 21:44:30 +0000, Ryan C. Gordon wrote:

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.

On 2013-05-21 23:47:57 +0000, Sam Lantinga wrote:

Okay, I think once we have ALSA channel swizzling in, we're good to go.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions