All of lore.kernel.org
 help / color / mirror / Atom feed
From: Timur Tabi <timur@freescale.com>
To: ALSA development <alsa-devel@alsa-project.org>
Subject: Playing silence instead of pausing during underrun
Date: Thu, 04 Sep 2008 10:04:32 -0500	[thread overview]
Message-ID: <48BFF900.50002@freescale.com> (raw)

If I understand it correctly, when ALSA detects an underrun during playback, it
throttles the driver by sending pause and resume commands.

It turns out that our hardware doesn't really like this.  We're looking at
various solutions, but one proposal would be to keep the hardware running during
a pause, but just have it play silence instead.  That is, ALSA keeps feeding
silence data during an underrun recovery.

Is there an easy way to do this in ALSA?  Is there another driver that does this?

-- 
Timur Tabi
Linux kernel developer at Freescale

             reply	other threads:[~2008-09-04 15:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-04 15:04 Timur Tabi [this message]
2008-09-04 15:28 ` Playing silence instead of pausing during underrun Jaroslav Kysela
2008-09-04 16:04   ` Timur Tabi
2008-09-05  6:21     ` 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=48BFF900.50002@freescale.com \
    --to=timur@freescale.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.