All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugtrack@alsa-project.org
To: alsa-devel@alsa-project.org
Subject: [ALSA - driver 0001726]: Front and Rear channels swap after first play when playing Surround40 on au8830
Date: Fri, 28 Apr 2006 05:27:49 +0200	[thread overview]
Message-ID: <842e621a608ccb00f6f094656e0f96fd@bugtrack.alsa-project.org> (raw)


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1726> 
======================================================================
Reported By:                Raymond
Assigned To:                mjander
======================================================================
Project:                    ALSA - driver
Issue ID:                   1726
Category:                   PCI - au88x0
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Distribution:               Fedora Core 1
Kernel Version:             2.4.22-1.2199.nptl
======================================================================
Date Submitted:             01-08-2006 17:41 CET
Last Modified:              04-28-2006 05:27 CEST
======================================================================
Summary:                    Front and Rear channels swap after first play when
playing Surround40 on au8830
Description: 
The front and rear channels are correct for playing Surround40 only at the
first time after the driver is loaded. 

The front and rear channels (Surround40) always swapped afterward using
speaker-test or xine. 

Playing stereo sound is OK.


 speaker-test -c4 -D hw:0,0
 
speaker-test 1.0.11rc2
 
Playback device is hw:0,0
Stream parameters are 48000Hz, S16_LE, 4 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 2 to 8192
Period size range from 1 to 512
Periods = 4
Buffer time size 2525
To choose buffer_size = 8192
To choose period_size = 2048
was set period_size = 512
was set buffer_size = 8192
 0 - Front Left
 1 - Front Right
 3 - Rear Right
 2 - Rear Left
Time per period = 11.856821
 0 - Front Left
 1 - Front Right
 3 - Rear Right
 2 - Rear Left

======================================================================

----------------------------------------------------------------------
 Raymond - 04-06-06 16:52 
----------------------------------------------------------------------
Using the graphic equalizer and the following plugin which route 2 channels
to 4-channels.

pcm.test {
    type plug
    slave {
        pcm "hw:0,0"
        channels 4
    }
    ttable.0.0 0.5
    ttable.0.1 1.0
    ttable.1.2 0.75
    ttable.1.3 0.25
}

The left peak is supposed to be always one half of the right peak.

aplay -D test stereo.wav
mplayer -ao alsa:device=test stereo.wav
 
left peak is 3 times of right peak indicates swap of front/rear channels

It's interesting that random swapping of channels can be reproduced by
speaker-test 

speaker-test -D test -c 2 -t sine

----------------------------------------------------------------------
 Raymond - 04-28-06 05:27 
----------------------------------------------------------------------
> When run speaker-test several times in a row it swaps channels in that
order:
> Front Left become Front Right
> Front Right become Rear Left
> Rear Right become Front Left
> Rear Left become Rear Right
> For reproduce this I just run "speaker-test -t wav -c4 -D hw:0,0" for 3
to 17 
> times in a row. On next run it restores channel order.

This seem to be an odd behaviour of speaker-test -t wav as described in
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2026

Issue History
Date Modified  Username       Field                    Change              
======================================================================
01-08-06 17:41 Raymond        New Issue                                    
01-08-06 17:41 Raymond        Distribution              => Fedora Core 1   
01-08-06 17:41 Raymond        Kernel Version            => 2.4.22-1.2199.nptl
01-27-06 16:45 Raymond        File Added: au88x0_surround40.patch               
    
02-04-06 06:26 Raymond        Note Added: 0007912                          
02-10-06 05:36 ponchick       Note Added: 0007987                          
02-10-06 06:32 Raymond        Note Added: 0007991                          
02-10-06 10:50 ponchick       Note Added: 0007998                          
02-10-06 11:25 Raymond        Note Added: 0008000                          
02-10-06 13:49 Raymond        Note Added: 0008003                          
02-10-06 13:56 Raymond        Note Edited: 0008003                         
02-12-06 07:48 Raymond        Note Edited: 0008003                         
02-12-06 10:12 Raymond        Note Edited: 0008000                         
02-16-06 05:37 ponchick       Note Added: 0008085                          
02-16-06 08:12 Raymond        Note Added: 0008088                          
02-16-06 10:12 Raymond        Note Added: 0008090                          
02-16-06 10:28 Raymond        Note Edited: 0008090                         
02-16-06 16:07 Raymond        Note Added: 0008097                          
02-17-06 03:35 ponchick       Note Added: 0008104                          
02-17-06 04:28 Raymond        Note Added: 0008105                          
02-17-06 04:35 Raymond        Note Edited: 0008105                         
02-17-06 05:56 Raymond        Note Edited: 0008105                         
02-17-06 06:09 Raymond        Note Edited: 0008105                         
02-26-06 07:22 ponchick       Note Added: 0008198                          
02-26-06 13:28 Raymond        Note Added: 0008200                          
02-26-06 14:08 Raymond        Note Edited: 0008200                         
02-27-06 06:57 ponchick       Note Added: 0008216                          
02-27-06 14:09 Raymond        Note Added: 0008222                          
02-28-06 04:42 Raymond        Note Added: 0008239                          
03-03-06 07:18 Raymond        Note Added: 0008334                          
03-03-06 09:19 Raymond        Note Edited: 0008334                         
03-24-06 14:57 Raymond        File Added: AU8830.conf                      
03-24-06 15:04 Raymond        Note Added: 0008918                          
03-31-06 10:22 Raymond        Note Added: 0009043                          
04-03-06 14:24 Raymond        Note Added: 0009096                          
04-06-06 16:52 Raymond        Note Added: 0009125                          
04-28-06 05:27 Raymond        Note Added: 0009538                          
======================================================================




-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

             reply	other threads:[~2006-04-28  3:27 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-28  3:27 bugtrack [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-04-06 14:52 [ALSA - driver 0001726]: Front and Rear channels swap after first play when playing Surround40 on au8830 bugtrack
2006-04-03 12:24 bugtrack
2006-03-31  8:22 bugtrack
2006-03-24 14:05 bugtrack
2006-03-03  6:18 bugtrack
2006-02-28  3:42 bugtrack
2006-02-27 13:09 bugtrack
2006-02-27  5:57 bugtrack
2006-02-26 12:28 bugtrack
2006-02-26  6:22 bugtrack
2006-02-17  3:28 bugtrack
2006-02-17  2:35 bugtrack
2006-02-16 15:07 bugtrack
2006-02-16  9:12 bugtrack
2006-02-16  7:12 bugtrack
2006-02-16  4:37 bugtrack
2006-02-10 12:49 bugtrack
2006-02-10 10:25 bugtrack
2006-02-10  9:50 bugtrack
2006-02-10  5:32 bugtrack
2006-02-10  4:36 bugtrack
2006-02-04  5:26 bugtrack
2006-01-08 16:41 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=842e621a608ccb00f6f094656e0f96fd@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.