Skip to contentSkip to conversation

: Left/Right reversed when using the raw iec958 on Audigy2

ALSA - lib 0000929 [email protected] 1 participant 1 message Mar 19, 2005

lore
Share & tools
lore
#0 lore raw

A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=929>
======================================================================
Reported By: TheOrwithVagrant
Assigned To:
======================================================================

Project:                    ALSA - lib
Issue ID:                   929
Category:                   hw specific configuration
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
======================================================================
Date Submitted:             02-21-2005 14:56 CET
Last Modified:              03-19-2005 11:46 CET

======================================================================
Summary: Left/Right reversed when using the raw iec958 on
Audigy2
Description:
When using an spdif-attatched amplifier, the iec958/spdif raw device to play a sound (or video file), the left and right channels end up reversed.

Example:

This produces "correct" left and right mappings

extract_ac3 AC3TEST.VOB |ac3dec

The following, however, reverses left & right:

extract_ac3 AC3TEST.VOB |ac3dec -R

Likewise, when playing a dvd with mplayer, things are correct if i merely use -ao alsa, but end up with left/right reversed if i use -ao alsa:device=iec958.

It appears to be an error in Audigy2.conf - changing the line

value [ 255 255 0 0 0 0 0 0 0 255 0 0 0 0 0 0 255 0 0 0 0 0 0 0 ]

to

value [ 255 255 0 0 0 0 0 0 255 0 0 0 0 0 0 0 0 255 0 0 0 0 0 0 ]

as in Audigy.conf, makes the channels appear from the right speaker even when using the raw spdif device.
======================================================================

----------------------------------------------------------------------
TheOrwithVagrant - 03-19-05 11:36
----------------------------------------------------------------------
As stated earlier in the comments, this channel reversal was a "fix" to make AC3 passthrough work on Audigy2. However, apart from having the side effect that made me file this bug, that fix also didn't work for everyone.
However, James Courtier-Dutton is working on a proper fix in the DSP code of the actual driver which makes this Audigy2.conf "error" unneccessary. As soon as James's fix is committed in CVS, I think this bug can be closed.

----------------------------------------------------------------------
jcdutton - 03-19-05 11:46
----------------------------------------------------------------------
A proper fix for this is using DSP code. I recently posted an email to alsa-user with a patch for people to try, who are having problems with AC3 out on the raw iec58 device. So, depending on their feedback, it will be fixed soon.

Issue History
Date Modified Username Field Change
======================================================================
02-21-05 14:56 TheOrwithVagrantNew Issue
02-21-05 15:04 pzad Note Added: 0003679
02-21-05 15:14 TheOrwithVagrantNote Added: 0003680

02-22-05 03:59 rlrevell       Note Added: 0003684                          
03-19-05 09:21 jdthood        Note Added: 0004013                          
03-19-05 09:58 jdthood        Note Added: 0004028                          

03-19-05 11:36 TheOrwithVagrantNote Added: 0004032
03-19-05 11:46 jcdutton Note Added: 0004033
======================================================================

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click