Skip to contentSkip to conversation

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

ALSA - lib 0000929 [email protected] 1 participant 1 message Feb 21, 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:              02-21-2005 15:14 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.
======================================================================

----------------------------------------------------------------------
pzad - 02-21-05 15:04
----------------------------------------------------------------------
Do you mean playing stereo sound using spdif has swapped left and right ?

Channel swap in Audigy2.conf is needed for AC3 (DTS) passthrough.

----------------------------------------------------------------------
TheOrwithVagrant - 02-21-05 15:14
----------------------------------------------------------------------
Yes, stereo sound gets reversed. AC3 passthrough, whether DTS or DD, has sadly never worked for me with any version of alsa, regardless of whether i leave Audigy2.conf untouched, or tweak it to fix the channel reversal as above. It was in my long toilings with trying to get _that_ to work that I noticed this channel reversal bug/feature.

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

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