-
Notifications
You must be signed in to change notification settings - Fork 6
Plugins Comparison
project-owner edited this page Oct 17, 2018
·
5 revisions
The following table compares different ALSA plugins which can be used for VU Meter functionality.
file | ameter | pivumeter | peppyalsa | |
---|---|---|---|---|
output | named pipe (PCM data) | SDL UI | I2C | named pipe (Volume data) |
mode | blocking | N/A | N/A | non-blocking |
output format | same as input | fixed | fixed | fixed |
- N/A - not applicable
- fixed - 44100 Hz, 16bit
The usage of a named pipe makes the plugin independent from the programming language. Programs written in any language (e.g. C, C++, Java, Python) can get data from a named pipe and use it.
The usage of the meter ALSA plugin (ameter, pivumeter, peppyalsa) makes the solution independent from the signal format as it converts the input signal into the fixed format 44.1kHz, 16 bit. That simplifies the logic which handles the signal.