From: bugtrack@alsa-project.org Subject: [ALSA - utils 0000849]: aplay apparently plays mono wav files using OSS, but plays stereo wav files using ALSA Date: Sun, 20 Mar 2005 13:45:19 +0100 Message-ID: <9aca661ecd80be590507363785223421@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 CE5CB250 for ; Sun, 20 Mar 2005 13:45:19 +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: 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: 03-20-2005 13:45 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. ---------------------------------------------------------------------- jdthood - 03-20-05 13:45 ---------------------------------------------------------------------- This one can be closed. 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 03-20-05 13:45 jdthood Note Added: 0004088 ====================================================================== ------------------------------------------------------- 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