[alsa-devel] snd_pcm_meter_get_rate() (and other meter functions) - can it be used in user applications?
huk256 at gmail.com
Mon Nov 14 22:03:04 CET 2011
I'm trying to understand how to add a sound meter that would monitor
sound level on certain channel defined in .asoundrc (like ameter
does). I think I should use snd_pcm_meter... however, if I try to use
this simple test program:
int err=snd_pcm_open(&pcm, "meter-x", SND_PCM_STREAM_PLAYBACK,0);
pcm_meter.c:906: snd_pcm_meter_get_rate: Assertion
I don't understand why - is it because snd_pcm_meter functions can
only be used in external plugins, and not in user applications (since
similar construction works fine with ameter...), or did I missed
Thanks in advance.
More information about the Alsa-devel