From: bugtrack@alsa-project.org Subject: [ALSA - lib 0001698]: Opening not-dmix pcm immediately after closing dmix-pcm fails. Date: Mon, 2 Jan 2006 16:42:31 +0100 Message-ID: <0198c88166215f5393493de68d983ac0@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 E214B125 for ; Mon, 2 Jan 2006 16:42:31 +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: skandalfo Assigned To: perex ====================================================================== Project: ALSA - lib Issue ID: 1698 Category: 1_pcm_d - direct PCM plugins (dmix+) Reproducibility: always Severity: major Priority: normal Status: assigned ====================================================================== Date Submitted: 01-02-2006 10:57 CET Last Modified: 01-02-2006 16:42 CET ====================================================================== Summary: Opening not-dmix pcm immediately after closing dmix-pcm fails. Description: As reported additionally in closed https://bugtrack.alsa-project.org/alsa-bug/view.php?id=0001184 I'm having problems with the default configuration supplied for NFORCE cards when xine switches from 2.0 to 5.1 audio when playing DVD's. See the report for the bug in xine-lib here: https://sourceforge.net/tracker/index.php?func=detail&aid=1226595&group_id=9655&atid=109655 ====================================================================== ---------------------------------------------------------------------- rlrevell - 01-02-06 16:42 ---------------------------------------------------------------------- Did you read the resolution to bug #1184? "Well, the dmix resource manager keeps the device allocated for a while (up to 0.5sec). This has nothing related to audio bufferring. It would be better to check for -EBUSY error code and keep trying to reopen audio device about one or two seconds in xine-lib before giving up." So it's a bug in xine-lib. Rather than giving up immediately when it gets "Device or resource busy" it should try again. Issue History Date Modified Username Field Change ====================================================================== 01-02-06 10:57 skandalfo New Issue 01-02-06 10:59 skandalfo Issue Monitored: skandalfo 01-02-06 16:42 rlrevell Note Added: 0007372 ====================================================================== ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click