Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* Metering on record
@ 2003-09-28  2:17 Erik de Castro Lopo
  2003-09-29  8:37 ` Jaroslav Kysela
  0 siblings, 1 reply; 5+ messages in thread
From: Erik de Castro Lopo @ 2003-09-28  2:17 UTC (permalink / raw)
  To: alsa-devel

Hi all,

I was hoping someone might be able to shine some light on the
following issue. I am currently opening an ALSA device for 
record say 44.1 kHz and reading 32k frames of data at a time.

Now with the above setup, if I want to do a meter, I can only
only update the meter every 32k frames or a little more than
once a second which makes for a very poor display.

So, looking at /usr/include/alsa/pcm.h I find some function
definitions which seem like they are meant for metering purposes.
Unfortunalety I can't seem to find any documentation on the ALSA
site nor can I find example code showing how this stuff is 
used.

Am I missing something or does this stuff just not exist? Do
these snd_pcm_meter_* functions work? Anybody have working code
that uses these things?

Thanks,
Erik
-- 
+-----------------------------------------------------------+
  Erik de Castro Lopo  nospam@mega-nerd.com (Yes it's valid)
+-----------------------------------------------------------+
"Anyone who says you can have a lot of widely dispersed people hack
away on a complicated piece of code and avoid total anarchy has never
managed a software project." - Andy Tanenbaum in 1992 on comp.os.minix


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-09-29 22:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-28  2:17 Metering on record Erik de Castro Lopo
2003-09-29  8:37 ` Jaroslav Kysela
2003-09-29 12:22   ` Erik de Castro Lopo
2003-09-29 12:30     ` Jaroslav Kysela
2003-09-29 22:24   ` PDAudio-CF ALSA Driver Intermittent Failure Len Moskowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox