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 247 - SDL 5.1 audio using wrong channel order on Windows
Summary: SDL 5.1 audio using wrong channel order on Windows
Status: RESOLVED DUPLICATE of bug 110
Alias: None
Product: SDL
Classification: Unclassified
Component: audio (show other bugs)
Version: 1.2.10
Hardware: x86 Windows (All)
: P2 normal
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-11 04:34 UTC by Forest Hale
Modified: 2006-06-21 03:19 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:34:14 UTC
From brief inspections of the SDL code I assume the internal format in SDL is Front Surround Center/LFE (which I will refer to as ALSA layout).

Windows uses Front Center/LFE Surround, and SDL does not convert.

I have not confirmed what layout is used on Mac OSX, perhaps someone else could report on this.

This means I am currently faced with the prospect of making my DarkPlaces glquake engine mix differently on Windows and other platforms, which seems to go against the spirit of SDL.

Also, 5.1 audio appears to be an undocumented feature in SDL?
Comment 1 Forest Hale 2006-06-11 04:41:12 UTC
A friend (Mathieu Olivier) has confirmed that Mac OSX (CoreAudio) uses Windows layout (Front Center/LFE Surround), so this actually bug may also affect CoreAudio if it does not currently convert (unverified).
Comment 2 Ryan C. Gordon 2006-06-21 03:19:11 UTC
(This turns out to be where Bug #110's discussion ended up.)

--ryan.



*** This bug has been marked as a duplicate of 110 ***