From: Timur Tabi <timur@freescale.com>
To: alsa-devel@alsa-project.org
Subject: How does ALSA detect underrun in OSS emulation?
Date: Mon, 25 Feb 2008 09:22:41 -0600 [thread overview]
Message-ID: <47C2DD41.9070408@freescale.com> (raw)
Can someone explain to me the exact method that ALSA uses to detect underrun
with OSS emulation? I have a driver that reports underrun on almost every
period when I use OSS emulation and I'm playing with a non-supported sample
rate. So I'm assuming that maybe my hardware is playing the audio too fast or
too slow, and the driver is returning periods before ALSA expects them. What I
don't understand is: how does ALSA know that a period was finished too early.
Does it use a timer, or is it purely application driven?
--
Timur Tabi
Linux kernel developer at Freescale
next reply other threads:[~2008-02-25 15:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-25 15:22 Timur Tabi [this message]
2008-02-25 15:33 ` How does ALSA detect underrun in OSS emulation? Takashi Iwai
2008-02-25 15:38 ` Timur Tabi
2008-02-25 15:45 ` 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=47C2DD41.9070408@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.