Skip to contentSkip to conversation

: Opening not-dmix pcm immediately after closing dmix-pcm fails.

ALSA - lib 0001698 [email protected] 1 participant 1 message Jan 2, 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=1698>
======================================================================

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