alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
From: Baek Chang <baeksan@ccrma.stanford.edu>
To: alsa-devel@alsa-project.org
Subject: snd_pcm_avail_update() returning large values
Date: Thu, 5 May 2011 17:37:56 -0700	[thread overview]
Message-ID: <BANLkTinbySDA6g40WcWYt-Yo0B-g6_B83w@mail.gmail.com> (raw)

Hi,

Occasionally, when using pulseaudio I see the following message:

snd_pcm_avail_update() returned a value that is exceptionally large.

This seems to be an issue with the ALSA driver itself.  My question is how
does snd_pcm_avail_update(), get updated? It uses hw buffer positions
correct?  Is there an example driver that implements snd_pcm_avail_update()
correctly and updates buffer positions correctly?

Thanks
Baek

             reply	other threads:[~2011-05-06  0:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-06  0:37 Baek Chang [this message]
2011-05-06  3:05 ` snd_pcm_avail_update() returning large values 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=BANLkTinbySDA6g40WcWYt-Yo0B-g6_B83w@mail.gmail.com \
    --to=baeksan@ccrma.stanford.edu \
    --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).