From: bugtrack@alsa-project.org Subject: [ALSA - lib 0001591]: dmix not enabled for snd-ice1724 Date: Tue, 22 Nov 2005 21:38:55 +0100 Message-ID: <7bbceeee98b692b07e5b64a78381a803@bugtrack.alsa-project.org> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: Received: from bugtrack.alsa-project.org (gate.perex.cz [85.132.177.35]) by alsa.jcu.cz (ALSA's E-mail Delivery System) with ESMTP id D8B021B8 for ; Tue, 22 Nov 2005 21:38:55 +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: AdamW Assigned To: perex ====================================================================== Project: ALSA - lib Issue ID: 1591 Category: 1_pcm_d - direct PCM plugins (dmix+) Reproducibility: always Severity: minor Priority: normal Status: assigned ====================================================================== Date Submitted: 11-22-2005 21:14 CET Last Modified: 11-22-2005 21:38 CET ====================================================================== Summary: dmix not enabled for snd-ice1724 Description: Upstream default ALSA config files in /usr/share/alsa/cards/ now seem to enable dmix by default for most drivers, but not snd-ice1724. I have tried to enable dmix for snd-ice1724 by editing /usr/share/alsa/cards/ICE1724.conf and adding the section which seems to enable dmix on other cards - I copied and pasted it from ENS1371.conf, with the obvious change of ENS1371 to ICE1724 - but then sound playback no longer worked. mplayer would give these errors: ALSA lib pcm_direct.c:812:(snd_pcm_direct_initialize_slave) requested or auto-format is not available ALSA lib pcm_dmix.c:831:(snd_pcm_dmix_open) unable to initialize slave alsa-init: playback open error: Invalid argument Could not open/initialize audio device -> no sound. So, a few questions. Is dmix not being enabled by default intentional, perhaps due to bugs with ice1724's support for dmix? Was my attempt to turn it on performed wrong, or does the problem lie elsewhere? Thanks. Please note I am using ALSA 1.1.0, this version was not available on the 'product version' list when I reported this bug. I have already mentioned this to Mandriva's ALSA packager, Thierry Vignaud; he suggested I should report it upstream. ====================================================================== ---------------------------------------------------------------------- rlrevell - 11-22-05 21:38 ---------------------------------------------------------------------- Because dmix defaults to S16_LE which your hardware does not support. Try adding the slave.format S32_LE line to ICE1724.conf so the dmix section looks like: playback.pcm { type plug slave.pcm { @func concat strings [ "dmix:" $CARD ] } add this ---> slave.format S32_LE } Issue History Date Modified Username Field Change ====================================================================== 11-22-05 21:14 AdamW New Issue 11-22-05 21:38 rlrevell Note Added: 0006801 ====================================================================== ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click