Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: bugtrack@alsa-project.org
To: alsa-devel@alsa-project.org
Subject: [ALSA - lib 0000929]: Left/Right reversed when using the raw iec958 on Audigy2
Date: Sat, 19 Mar 2005 11:46:41 +0100	[thread overview]
Message-ID: <0b3940cd29dda89d761bb4487d562a5c@bugtrack.alsa-project.org> (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

             reply	other threads:[~2005-03-19 10:46 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-19 10:46 bugtrack [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-08-09 11:46 [ALSA - lib 0000929]: Left/Right reversed when using the raw iec958 on Audigy2 bugtrack
2005-05-30 12:59 bugtrack
2005-05-30 12:50 bugtrack
2005-05-30 11:41 bugtrack
2005-03-19 10:36 bugtrack
2005-03-19  8:58 bugtrack
2005-03-19  8:21 bugtrack
2005-02-22  2:59 bugtrack
2005-02-21 14:14 bugtrack
2005-02-21 14:04 bugtrack
2005-02-21 13:56 bugtrack

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0b3940cd29dda89d761bb4487d562a5c@bugtrack.alsa-project.org \
    --to=bugtrack@alsa-project.org \
    --cc=alsa-devel@alsa-project.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox