alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
From: Matthew Gregan <kinetik@flim.org>
To: alsa-devel@alsa-project.org
Subject: Re: Hang in snd_pcm_writei with alsa-pulse plugin
Date: Thu, 4 Nov 2010 16:52:56 +1300	[thread overview]
Message-ID: <20101104035256.GA21847@flim.org> (raw)
In-Reply-To: <AANLkTinxDcSmpRfvp560AzzG3a-5BX9RdVfiG2qLzqiD@mail.gmail.com>

At 2010-11-04T11:29:39+0800, Raymond Yau wrote:
> when increase the sleep time from half period to one period, the hang occur
> after around 50 pause/resume cycles.
> 
> did PA server  stop sending data to the sound card immediately when your
> program pause ?

Yes.  As far as I can tell, at least.

> But cannot reproduce your problem using the "pause" function of aplay
> 
> which sound card are you using and did you change the pulseaudlo daemon.conf
> ?

I'm using the default daemon.conf shipped with Fedora 13, which contains
nothing but comments and newlines.  The sound card is: Intel Corporation 5
Series/3400 Series Chipset High Definition Audio (rev 06) in a Lenovo W510.
I've seen this problem on other machines (including in VMWare and VirtualBox
based VMs) too, but I don't know what sound hardware they were using.

Cheers,
-mjg
-- 
Matthew Gregan                     |/
                                  /|                    kinetik@flim.org

  reply	other threads:[~2010-11-04  3:53 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-01  1:38 Hang in snd_pcm_writei with alsa-pulse plugin Matthew Gregan
2010-11-01 17:30 ` Colin Guthrie
2010-11-02  2:43   ` Raymond Yau
2010-11-02  4:44     ` Matthew Gregan
2010-11-02  8:23       ` Raymond Yau
2010-11-09 12:20       ` Raymond Yau
2010-11-04  3:29 ` Raymond Yau
2010-11-04  3:52   ` Matthew Gregan [this message]
2010-11-22 23:55 ` Raymond Yau
2011-05-06 13:46 ` Raymond Yau

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=20101104035256.GA21847@flim.org \
    --to=kinetik@flim.org \
    --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 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).