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 [EMAIL PROTECTED] (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 _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel