Skip to content

Why new ALSA plugin?

project-owner edited this page Oct 17, 2018 · 4 revisions

peppyalsa plugin was created during refactoring of the PeppyMeter application. Before the plugin was created PeppyMeter was using file ALSA plugin. That plugin can output PCM data either to a file or named pipe.

Unfortunately the file plugin has some limitations- it opens a named pipe in a blocking mode. That means that if there is no reader running on the other end of the named pipe then audio player which is using file plugin will be blocked. It will not output any sound.

Also file plugin outputs signal in the same format in which it is receiving it. This plugin feature makes the application reading data from a named pipe more complicated as it should be aware of the signal format.

<<Previous | Next>>