pulseaudio - pactl parse volume

poma pomidorabelisima at gmail.com
Mon Jun 16 00:09:12 UTC 2014


- pactl v4 - fc20:

pactl parse_volume() cannot read negatives
https://bugs.freedesktop.org/show_bug.cgi?id=77108

$ rpm -qf /usr/bin/pactl
pulseaudio-utils-4.0-13.gitf81e3.fc20.x86_64
$ pactl list sinks | grep Volume:\ front
	Volume: front-left: 39315 /  60% / -13.32 dB,   front-right: 39315 /  60% / -13.32 dB
$ pactl set-sink-volume 0 +10%
$ pactl list sinks | grep Volume:\ front
	Volume: front-left: 45868 /  70% / -9.30 dB,   front-right: 45868 /  70% / -9.30 dB
$ pactl set-sink-volume 0 -10%
pactl: invalid option -- '1'
$ pactl list sinks | grep Volume:\ front
	Volume: front-left: 45868 /  70% / -9.30 dB,   front-right: 45868 /  70% / -9.30 dB


pactl: Stop parsing option when the first non-option is encountered
http://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/?id=997e369
...
error: Installed (but unpackaged) file(s) found:
       /usr/lib64/pulse-4.0/modules/module-xenpv-sink.so


RPM build errors:
        Installed (but unpackaged) file(s) found:
       /usr/lib64/pulse-4.0/modules/module-xenpv-sink.so

$ rpm -qf /usr/bin/pactl
pulseaudio-utils-4.0-15.gitf81e3.fc20.x86_64
$ pactl list sinks | grep Volume:\ front
	Volume: front-left: 45868 /  70% / -9.30 dB,   front-right: 45868 /  70% / -9.30 dB
$ pactl set-sink-volume 0 +10%
$ pactl list sinks | grep Volume:\ front
	Volume: front-left: 52421 /  80% / -5.82 dB,   front-right: 52421 /  80% / -5.82 dB
$ pactl set-sink-volume 0 -10%
$ pactl list sinks | grep Volume:\ front
	Volume: front-left: 45867 /  70% / -9.30 dB,   front-right: 45867 /  70% / -9.30 dB

~~~~~~~~~~~~~~~~~~

- pactl v5 - fc21:

pactl parse_volume() cannot read negatives
https://bugs.freedesktop.org/show_bug.cgi?id=77108

$ rpm -qf /usr/bin/pactl
pulseaudio-utils-5.0-5.fc21.x86_64
$ pactl list sinks | grep Volume:\ front
	Volume: front-left: 36041 /  55% / -15.58 dB,   front-right: 36041 /  55% / -15.58 dB
$ pactl set-sink-volume 0 +10%
$ pactl list sinks | grep Volume:\ front
	Volume: front-left: 42594 /  65% / -11.23 dB,   front-right: 42594 /  65% / -11.23 dB
$ pactl set-sink-volume 0 -10%
pactl: invalid option -- '1'
$ pactl list sinks | grep Volume:\ front
	Volume: front-left: 42594 /  65% / -11.23 dB,   front-right: 42594 /  65% / -11.23 dB


pactl: Stop parsing option when the first non-option is encountered
http://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/?id=997e369

$ rpm -qf /usr/bin/pactl
pulseaudio-utils-5.0-7.fc21.x86_64
$ pactl list sinks | grep Volume:\ front
	Volume: front-left: 42594 /  65% / -11.23 dB,   front-right: 42594 /  65% / -11.23 dB
$ pactl set-sink-volume 0 +10%
$ pactl list sinks | grep Volume:\ front
	Volume: front-left: 49147 /  75% / -7.50 dB,   front-right: 49147 /  75% / -7.50 dB
$ pactl set-sink-volume 0 -10%
$ pactl list sinks | grep Volume:\ front
	Volume: front-left: 42593 /  65% / -11.23 dB,   front-right: 42593 /  65% / -11.23 dB


poma




More information about the devel mailing list