pacmd - Compatability notes
Here is a breakdown of the functionality of pacmd(1).
PulseAudio provides a CLI interface called pacmd. This lists the pacmd commands indexed by functionality. Because PulseAudio provides an object oriented interface to Pulse Audio, you needn't specify the index argument in any of these: these methods are called on the respective objects which hold the index (or in the case of PulseAudio::Module 'name') information.
All of the functional is performed by the PulseAudio::Backend::Utilities role.
Load a module (args: name, arguments)
Load a sound file into the sample cache (args: name, filename)
Lazily load a sound file into the sample cache (args: name, filename)
Lazily load all files in a directory into the sample cache (args: pathname)
Interally we only parse info which is thought to have everything.
List all entries in the sample cache
List loaded modules
List cards
List loaded sinks
List loaded sources
List loaded clients
List sink inputs
List source outputs
Show memory block statistics
Show comprehensive status
Terminate the daemon
Suspend all sinks and all sources (args: bool)
All of these are supported by PulseAudio::Sink.
Set the volume of a sink (args: index|name, volume)
Set the mute switch of a sink (args: index|name, bool)
Set the default sink (args: index|name)
Change the port of a sink (args: index|name, port-name)
Suspend sink (args: index|name, bool)
Update the properties of a sink (args: index|name, properties)
Play a sample from the sample cache (args: name, sink|index)
Play a sound file (args: filename, sink|index)
All of these are supported by PulseAudio::SinkInput.
Set the volume of a sink input (args: index, volume)
Set the mute switch of a sink input (args: index, bool)
Move sink input to another sink (args: index, sink)
Update the properties of a sink input (args: index, properties)
Kill a sink input (args: index)
All of these are supported by PulseAudio::Source.
Set the volume of a source (args: index|name, volume)
Set the mute switch of a source (args: index|name, bool)
Set the default source (args: index|name)
Change the port of a source (args: index|name, port-name)
Suspend source (args: index|name, bool)
Update the properties of a source (args: index|name, properties)
All of these are supported by PulseAudio::SourceOutput.
Set the volume of a source output (args: index, volume)
Set the mute switch of a source output (args: index, bool)
Move source output to another source (args: index, source)
Update the properties of a source output (args: index, properties)
Kill a source output (args: index)
All of these are supported by PulseAudio::Card.
Change the profile of a card (args: index|name, profile-name)
All of these are supported by PulseAudio::Client.
Kill a client (args: index)
All of these are supported by PulseAudio::Module.
Unload a module (args: index)
All of these are supported by PulseAudio::Samples.
Remove a sample from the sample cache (args: name)
None of these commands are supported
Describe a module (arg: name)
Change the log level (args: numeric level)
Show source code location in log messages (args: bool)
Show timestamps in log messages (args: bool)
Show backtrace in log messages (args: frames)
Dump daemon configuration
Debug: Show the state of all volumes
Debug: Show shared properties
Show this help
To install PulseAudio, copy and paste the appropriate command in to your terminal.
cpanm
cpanm PulseAudio
CPAN shell
perl -MCPAN -e shell install PulseAudio
For more information on module installation, please visit the detailed CPAN module installation guide.