Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "J. Scott Merritt" <alsauser@pragmasoft.com>
To: alsa-devel@alsa-project.org
Subject: Re: SALSA: snd_pcm_avail_update
Date: Fri, 14 Sep 2007 12:26:26 -0400	[thread overview]
Message-ID: <20070914122626.49366db3.alsauser@pragmasoft.com> (raw)
In-Reply-To: <20070913185555.35445b93.alsauser@pragmasoft.com>

On Thu, 13 Sep 2007 18:55:55 -0400
"J. Scott Merritt" <alsauser@pragmasoft.com> wrote:

> Using salsa-lib-0.0.11, cross-compiling to ARM ...
> 
> Despite my best efforts, snd_pcm_avail_update is always returning
> "broken pipe".  I have checked the pcm_state of the Capture Handle
> just before snd_pcm_avail_update and it is "RUNNING'.  But immediately
> after snd_pcm_avail_update it always returns "XRUN".  Furthermore,
> this same sequence seems to work properly with the standard ALSA-Lib.
> 
> Test program is attached.  Any suggestions appreciated.
> 
> Thanks, Scott.
> 

After further investigation ... it appears that snd_pcm_open() in
salsa-lib-0.0.11:pcm.c is not properly recording/initializing the
pcm->stream field.

      reply	other threads:[~2007-09-14 16:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-13 22:55 SALSA: snd_pcm_avail_update J. Scott Merritt
2007-09-14 16:26 ` J. Scott Merritt [this message]

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=20070914122626.49366db3.alsauser@pragmasoft.com \
    --to=alsauser@pragmasoft.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox