PulseAudio: pacmd volume commands

On the TM 814x EVM board (kernel 2.6.37), the TI linux didn’t include the pacmd  To get the CLI pacmd, I needed to install the following packages:

opkg install pulseaudio-misc pulseaudio-module-cli pulseaudio-module-cli-protocol-unix

Maybe some other pacakges too but I forgot. Use this command: pulseaudio -vvv to start pulse audio for logging.

Once I got pacmd working, it was trying to figure out what commands are available. The Ubuntu man pages actually has one neatly formatted out [link].

To change the volume, I’m mostly looking into these:

list-sink-inputs

list-sink-inputs-volume  [SinkInput#] [VolumeInput]

VOLUME can be specified as an  integer
              (e.g.  2000,  16384),  a  linear  factor  (e.g.  0.4,  1.100), a
              percentage (e.g. 10%, 100%) or a decibel value (e.g. 0dB, 20dB).

list-sink-inputs-mute [SinkInput#] [1|0]  1 to mute, 0 to unmute

Advertisements
This entry was posted in Linux and tagged , , , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s