NAME

PulseAudio - pacmd notes

Functionality

Here is a breakdown of the functionality of pacmd(1).

Description

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 sink and source objects which hold the index information.

Listing

All listing functional is done by the PulseAudio::Backend::Utilities role. Interally it only parses info which is thought to have everything.

list-samples List all entries in the sample cache
list-modules List loaded modules
list-cards List cards
list-sinks List loaded sinks
list-sources List loaded sources
list-clients List loaded clients
list-sink-inputs List sink inputs
list-source-outputs List source outputs
stat Show memory block statistics
info Show comprehensive status

Sink

All of these are supported by PulseAudio::Sink.

set-sink-volume Set the volume of a sink (args: index|name, volume)
set-sink-mute Set the mute switch of a sink (args: index|name, bool)
set-default-sink Set the default sink (args: index|name)
set-sink-port Change the port of a sink (args: index|name, port-name)
suspend-sink Suspend sink (args: index|name, bool)
update-sink-proplist Update the properties of a sink (args: index|name, properties)
play-sample Play a sample from the sample cache (args: name, sink|index)
play-file Play a sound file (args: filename, sink|index)

Sink Input

All of these are supported by PulseAudio::SinkInput.

set-sink-input-volume Set the volume of a sink input (args: index, volume)
set-sink-input-mute Set the mute switch of a sink input (args: index, bool)
move-sink-input Move sink input to another sink (args: index, sink)
update-sink-input-proplist Update the properties of a sink input (args: index, properties)
kill-sink-input Kill a sink input (args: index)

Source

All of these are supported by PulseAudio::Source.

set-source-volume Set the volume of a source (args: index|name, volume)
set-source-mute Set the mute switch of a source (args: index|name, bool)
set-default-source Set the default source (args: index|name)
set-source-port Change the port of a source (args: index|name, port-name)
suspend-source Suspend source (args: index|name, bool)
update-source-proplist Update the properties of a source (args: index|name, properties)

Source Output

All of these are supported by PulseAudio::SourceOutput.

set-source-output-volume Set the volume of a source output (args: index, volume)
set-source-output-mute Set the mute switch of a source output (args: index, bool)
move-source-output Move source output to another source (args: index, source)
update-source-output-proplist Update the properties of a source output (args: index, properties)
kill-source-output Kill a source output (args: index)

Card

All of these are supported by PulseAudio::Card.

set-card-profile Change the profile of a card (args: index|name, profile-name)

Clients

All of these are supported by PulseAudio::Client.

kill-client Kill a client (args: index)

Modules

All of these are supported by PulseAudio::Module.

unload-module Unload a module (args: index)

Samples

All of these are supported by PulseAudio::Samples.

remove-sample Remove a sample from the sample cache (args: name)

Totally unsupported commands

None of these commands are supported

load-module Load a module (args: name, arguments)
load-sample Load a sound file into the sample cache (args: name, filename)
load-sample-lazy Lazily load a sound file into the sample cache (args: name, filename)
load-sample-dir-lazy Lazily load all files in a directory into the sample cache (args: pathname)
describe-module Describe a module (arg: name)
set-log-level Change the log level (args: numeric level)
set-log-meta Show source code location in log messages (args: bool)
set-log-time Show timestamps in log messages (args: bool)
set-log-backtrace Show backtrace in log messages (args: frames)
dump Dump daemon configuration
dump-volumes Debug: Show the state of all volumes
shared Debug: Show shared properties
exit Terminate the daemon
suspend Suspend all sinks and all sources (args: bool)