All of lore.kernel.org
 help / color / mirror / Atom feed
From: Karsten Jeppesen <karsten@jeppesens.com>
To: alsa-devel@lists.sourceforge.net
Subject: Re: Alsa fails to open plug:surround51
Date: Thu, 30 Jun 2005 14:45:52 -0700	[thread overview]
Message-ID: <42C46810.30108@jeppesens.com> (raw)
In-Reply-To: <s5hk6kcylhx.wl%tiwai@suse.de>



Takashi Iwai wrote:

>At Fri, 24 Jun 2005 09:11:35 +0200 (METDST),
>Clemens Ladisch wrote:
>  
>
>>Karsten Jeppesen wrote:
>>    
>>
>>>Xine will open default to play the dvd menu (2.0).
>>>Then it will issue a snd_pcm_close for that stream
>>>
>>>When it then tries to open plug:surround51 (for the movie)  then this
>>>call fails with resource busy.
>>>      
>>>
>>Which sound card?
>>
>>Could you check with strace whether the device (/dev/snd/pcmCxDyp)
>>really is closed?
>>    
>>
>
>A known problem with dmix.  It's a race between the dmix server
>process and reopening process.
>
>A workaround would be to take a short sleep (or polling of resource
>release) at closing a dmix stream...  But anyway it's tricky.
>  
>
What I ended up doing in Xine is just that. Sleeping a second and then 
try again.
Thanks both of you.  (Soundcard is an ALC650 builtin on an ABIT NF7-S, 
using analog outputs)

Karsten



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click

      reply	other threads:[~2005-06-30 21:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-24  2:50 Alsa fails to open plug:surround51 Karsten Jeppesen
2005-06-24  7:11 ` Clemens Ladisch
2005-06-30 14:20   ` Takashi Iwai
2005-06-30 21:45     ` Karsten Jeppesen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=42C46810.30108@jeppesens.com \
    --to=karsten@jeppesens.com \
    --cc=alsa-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.