Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Clemens Ladisch <clemens@ladisch.de>
To: l9jj@163.com
Cc: alsa-devel@alsa-project.org
Subject: Re: what is period_size, buffer_size and boundary size, i confuse them
Date: Mon, 10 Dec 2012 09:24:37 +0100	[thread overview]
Message-ID: <50C59C45.7040109@ladisch.de> (raw)
In-Reply-To: <5ec59db3.354.13b83dc3158.Coremail.l9jj@163.com>

l9jj@163.com wrote:
> does  the variable buffer_size equal to  DMA size?

Yes.

> (2)how the pos>buffer_size will happen in the interface snd_pcm_update_hw_ptr0()?

It happens when your driver has a bug.  The .pointer callback always must
return value that is inside the DMA buffer.


Regards,
Clemens

  reply	other threads:[~2012-12-10  8:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-10  8:09 what is period_size, buffer_size and boundary size, i confuse them l9jj
2012-12-10  8:24 ` Clemens Ladisch [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-12-10  9:19 l9jj
2012-12-09 14:37 l9jj
2012-12-09 16:22 ` Clemens Ladisch

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=50C59C45.7040109@ladisch.de \
    --to=clemens@ladisch.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=l9jj@163.com \
    /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