From: "Clemens Ladisch" <cladisch@fastmail.net>
To: Agata Ma <ga0ata0912@yahoo.com>, alsa-devel@lists.sourceforge.net
Subject: Re: How to count PCM frames captured?
Date: Fri, 15 Sep 2006 09:36:05 +0200 [thread overview]
Message-ID: <1158305765.19680.270995073@webmail.messagingengine.com> (raw)
In-Reply-To: <20060915072730.78504.qmail@web55402.mail.re4.yahoo.com>
Agata Ma wrote:
> So, my question is: does exist an ALSA function to count the PCM
> frames captured and moved to buffer?
The function snd_pcm_avail_update() returns how many frames are
available in the device's buffer.
The function snd_pcm_readi() returns how many frames it has copied to
your buffer.
HTH
Clemens
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
next prev parent reply other threads:[~2006-09-15 7:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-15 7:27 How to count PCM frames captured? Agata Ma
2006-09-15 7:36 ` Clemens Ladisch [this message]
-- strict thread matches above, loose matches on Subject: below --
2006-09-16 8:57 Agata Ma
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=1158305765.19680.270995073@webmail.messagingengine.com \
--to=cladisch@fastmail.net \
--cc=alsa-devel@lists.sourceforge.net \
--cc=ga0ata0912@yahoo.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