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

Summary: SDL 5.1 audio using wrong channel order on Windows
Product: SDL Reporter: Forest Hale <lordhavoc>
Component: audioAssignee: Ryan C. Gordon <icculus>
Status: RESOLVED DUPLICATE QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: 1.2.10   
Hardware: x86   
OS: Windows (All)   

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 ***