: aplay apparently plays mono wav files using OSS, but plays stereo wav files using ALSA
A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=849>
======================================================================
Reported By: vapspwi
Assigned To:
======================================================================
Project: ALSA - utils Issue ID: 849 Category: aplay/arecord Reproducibility: always Severity: major Priority: normal Status: new ====================================================================== Date Submitted: 01-26-2005 20:15 CET Last Modified: 01-31-2005 19:01 CET
======================================================================
Summary: aplay apparently plays mono wav files using OSS, but
plays stereo wav files using ALSA
Description:
Anytime I play a mono wav file (11, 22, or 44 kHz, 8 or 16 bit) using aplay, the output is routed to all 26 playback channels of my HDSP 9652 card (observed using hdspmixer). Based on some web research, it appears that this is because aplay is using OSS to play the mono wav file. When I play a stereo wav file (11, 22, or 44 kHz, 8 or 16 bit) using aplay, the output is routed only to playback channels 1 and 2 of the HDSP 9652, apparently because aplay is using ALSA to play the stereo wav file.
======================================================================
----------------------------------------------------------------------
tiwai - 01-31-05 19:01
----------------------------------------------------------------------
I guess you meant aplay instead of alsamixer?
Anyway, aplay has nothing to do with OSS. It can't. Never ever.
What is the problem? The behavior to routing the channels depends on the configuration of "plug" layer. As default, only first channels are copied except for mono stream. You can change this policy in your ~/.asoundrc. See the alsa-lib's reference.
Issue History
Date Modified Username Field Change
======================================================================
01-26-05 20:15 vapspwi New Issue 01-26-05 20:16 vapspwi Issue Monitored: vapspwi 01-26-05 23:46 vapspwi Issue End Monitor: vapspwi 01-31-05 19:01 tiwai Note Added: 0003455
======================================================================
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl