alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* snd_pcm_drop causing lockup with DMix
@ 2010-02-28 15:37 John Lindgren
  2010-02-28 16:22 ` Jaroslav Kysela
  0 siblings, 1 reply; 10+ messages in thread
From: John Lindgren @ 2010-02-28 15:37 UTC (permalink / raw)
  To: alsa-devel

Hi,

A couple of weeks ago I reported a rather serious bug #4914 that can
cause a multi-threaded using ALSA to lock up so that it can only be
ended with SIGKILL.

I maintain the ALSA output part of Audacious, and I need to be able to
play audio in one thread of the program and then signal that thread to
stop from another.  The way to do this in ALSA, if I understand
correctly, is to interrupt the thread that is sending audio with a call
to snd_pcm_drop.  But using DMix makes the first thread hang up in a
snd_pcm_wait call with a timeout of -1.

Is anyone working on this bug?  Is there any more help I can provide?

John Lindgren

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2010-03-03 12:59 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-28 15:37 snd_pcm_drop causing lockup with DMix John Lindgren
2010-02-28 16:22 ` Jaroslav Kysela
2010-02-28 17:15   ` John Lindgren
2010-03-01  6:53     ` Jaroslav Kysela
2010-03-01 23:52       ` John Lindgren
2010-03-02 13:25         ` Jaroslav Kysela
2010-03-03  0:24           ` John Lindgren
2010-03-03 10:01             ` Jaroslav Kysela
2010-03-03 12:28               ` John Lindgren
2010-03-03 12:59                 ` Jaroslav Kysela

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).