All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eliot Blennerhassett <linux@audioscience.com>
To: alsa-devel@alsa-project.org
Subject: error in snd_pcm_drain()
Date: Thu, 05 Jul 2007 19:37:41 +1200	[thread overview]
Message-ID: <200707051937.42073.linux@audioscience.com> (raw)

Maybe an error in snd_pcm_drain - not sure what effect it might have...
	
snd_pcm_group_for_each_entry(s, substream) {
		runtime = s->runtime;
...
	}
	up_read(&snd_pcm_link_rwsem);
	snd_pcm_stream_lock_irq(substream);

/* pcm_native.c around line 1491: */
/* error? runtime has been changed by group_for_each 
should use substream->runtime instead?
*/

	/* resume pause */
	if (runtime->status->state == SNDRV_PCM_STATE_PAUSED)
		snd_pcm_pause(substream, 0);


--
Eliot

             reply	other threads:[~2007-07-05  7:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-05  7:37 Eliot Blennerhassett [this message]
2007-07-05 15:32 ` error in snd_pcm_drain() 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=200707051937.42073.linux@audioscience.com \
    --to=linux@audioscience.com \
    --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.