The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Lubomir Rintel <lkundrak@v3.sk>
To: linux-kernel@vger.kernel.org
Cc: Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.de>,
	Lennart Poettering <mzjro@0pointer.net>,
	stable@kernel.org, alsa-devel@alsa-project.org
Subject: Re: [PATCH] Tell user that stream to be rewound is suspended
Date: Sun, 02 Aug 2009 18:32:57 +0200	[thread overview]
Message-ID: <1249230777.4890.6.camel@localhost.localdomain> (raw)
In-Reply-To: <1249229684-8292-1-git-send-email-lkundrak@v3.sk>

On Sun, 2009-08-02 at 18:14 +0200, Lubomir Rintel wrote:
> Return STRPIPE instead of EBADF when userspace attempts to rewind
> of forward a stream that was suspended in meanwhile, so that it
> can be recovered by snd_pcm_recover().
> 
> This was causing Pulseaudio to unload the ALSA sink module under a race
> condition when it attempted to rewind the stream right after resume from
> suspend, before writing to the stream which would cause it to revive the
> stream otherwise. Tested to work with Pulseaudio patched to attempt to
> snd_pcm_recover() upon receiving an error from snd_pcm_rewind().

The userspace part is filed here:
http://www.pulseaudio.org/ticket/616

-- 
"Excuse all the blood" -- Dead


  reply	other threads:[~2009-08-02 16:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-02 16:14 [PATCH] Tell user that stream to be rewound is suspended Lubomir Rintel
2009-08-02 16:32 ` Lubomir Rintel [this message]
2009-08-03  6:53 ` Takashi Iwai

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=1249230777.4890.6.camel@localhost.localdomain \
    --to=lkundrak@v3.sk \
    --cc=alsa-devel@alsa-project.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mzjro@0pointer.net \
    --cc=perex@perex.cz \
    --cc=stable@kernel.org \
    --cc=tiwai@suse.de \
    /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