From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugtrack@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 Message-ID: <0b3940cd29dda89d761bb4487d562a5c@bugtrack.alsa-project.org> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Received: from bugtrack.alsa-project.org (gate.perex.cz [82.113.61.162]) by alsa.alsa-project.org (ALSA's E-mail Delivery System) with ESMTP id D6B081DF for ; Sat, 19 Mar 2005 11:46:41 +0100 (MET) Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org A NOTE has been added to this issue. ====================================================================== ====================================================================== 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