From: John Lindgren <john.lindgren@tds.net>
To: alsa-devel@alsa-project.org
Subject: snd_pcm_drop causing lockup with DMix
Date: Sun, 28 Feb 2010 10:37:21 -0500 [thread overview]
Message-ID: <1267371441.14748.22.camel@satellite> (raw)
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
next reply other threads:[~2010-02-28 15:37 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-28 15:37 John Lindgren [this message]
2010-02-28 16:22 ` snd_pcm_drop causing lockup with DMix 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
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=1267371441.14748.22.camel@satellite \
--to=john.lindgren@tds.net \
--cc=alsa-devel@alsa-project.org \
/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.