All of lore.kernel.org
 help / color / mirror / Atom feed
From: Clemens Ladisch <clemens@ladisch.de>
To: Christian Gruber <christian.gruber@voiceinterconnect.de>
Cc: alsa-devel@alsa-project.org
Subject: Re: Buffer underrun in a not empty playback buffer
Date: Wed, 25 Jul 2012 12:41:34 +0200	[thread overview]
Message-ID: <500FCD5E.4070401@ladisch.de> (raw)
In-Reply-To: <500FC6B7.1040309@voiceinterconnect.de>

Christian Gruber wrote:
> Am 25.07.2012 09:01, schrieb Clemens Ladisch:
>> (Or does that driver, which you did not name, do additional checks?)
>
> The mentioned driver is an ALSA-driver, which was originally developed
> by Texas Instruments for their Audio-Codec family TLV320AIC3x, but was
> adapted to a specific customer board.

The TLV320AIC3x are I²S codecs.  DMA and buffering are done by the
controller, which is managed by the platform driver.

> But the behaviour of the mentioned driver is, that an underrun occurs,
> even when there are lots of periods (> 6 periods) inside the playback
> buffer. And this is not correct, isn't it?

This is indeed not correct (if there isn't much time between reading
the buffer fill level and the underrun).

It's likely that the platform driver does not report the buffer position
correctly.


Regards,
Clemens

      reply	other threads:[~2012-07-25 10:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-25  6:33 Buffer underrun in a not empty playback buffer Christian Gruber
2012-07-25  7:01 ` Clemens Ladisch
2012-07-25 10:13   ` Christian Gruber
2012-07-25 10:41     ` Clemens Ladisch [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=500FCD5E.4070401@ladisch.de \
    --to=clemens@ladisch.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=christian.gruber@voiceinterconnect.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 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.