Skip to contentSkip to conversation

: playing 2-channel sound on surround device uses rear speakers

ALSA - driver 0001914 [email protected] 1 participant 1 message Mar 16, 2006

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

Reported By:                mru
Assigned To:                tiwai
======================================================================
Project:                    ALSA - driver
Issue ID:                   1914
Category:                   PCI - cmipci
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Distribution:               Gentoo
Kernel Version:             2.6.15-gentoo-r1
======================================================================
Date Submitted:             03-11-2006 21:25 CET
Last Modified:              03-16-2006 02:38 CET

======================================================================
Summary: playing 2-channel sound on surround device uses rear
speakers
Description:
If I play regular 2-channel stereo sound specifying device "surround51" or "surround40" (or either of those with a "plug:" prefix) the sound is output on the rear speakers. 6-channel playback is correct.
======================================================================

----------------------------------------------------------------------
mru - 03-16-06 02:06
----------------------------------------------------------------------
That patch makes plug:surround51 work as expected with two channels. However, it is now failing with 6-channel sound. Front and surround/lfe are fine, but right rear is about half volume, and left rear is barely audible. Playing 2-channel sound on the "rear" device works, so I'm sure the speakers are connected properly.

----------------------------------------------------------------------
mru - 03-16-06 02:38
----------------------------------------------------------------------
Sorry, that last bit must have been caused by something else. Muting and unmuting the "PCM" control somehow fixed it, even though the PCM mute otherwise only affects the front speakers.

With the patch, 2-channel samples are padded to 6 by the plug: wrapper so the sound is correctly played on the front speakers. 6-channel playback is unchanged, as it should.

Issue History
Date Modified Username Field Change
======================================================================

03-11-06 21:25 mru            New Issue                                    
03-11-06 21:25 mru            Distribution              => Gentoo          
03-11-06 21:25 mru            Kernel Version            => 2.6.15-gentoo-r1
03-14-06 15:04 tiwai          Note Added: 0008477                          
03-14-06 15:15 mru            Note Added: 0008478                          
03-14-06 15:22 tiwai          Note Added: 0008481                          
03-14-06 23:53 mru            Note Added: 0008524                          
03-15-06 11:59 tiwai          Note Added: 0008536                          
03-15-06 12:27 mru            Note Added: 0008541                          
03-15-06 13:04 tiwai          Note Added: 0008545                          
03-15-06 13:05 tiwai          File Added: pcm-hw-restrict.diff                  

03-16-06 02:06 mru Note Added: 0008580
03-16-06 02:38 mru Note Added: 0008582
======================================================================

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642