Skip to content
Commits on Source (3)
mate-accessibility (0.11.1) jessie; urgency=medium
[ Alex ARNAUD ]
* mate-accessibility-compiz: play_sound_restore_volume.sh: rewrite it
completely to avoid sound reduction with PulseAudio. Previously, when
the sound was inferior to the default one, the sound of other
clients (eg. speech-dispatcher) was reduced each time the bell was
played. With this new implementation, the bell sound is played at the
volume level to avoid impact on the PulseAudio sound.
-- Cyril Brulebois <cyril@debamax.com> Wed, 23 May 2018 15:06:05 +0200
mate-accessibility (0.11.0) jessie; urgency=medium
[ Alex ARNAUD ]
......
#!/bin/sh
CUR_VOLUME=$(pacmd list-sinks | grep front-left | grep -v channel | cut -d " " -f3)
CUR_SINK=$(pacmd list-sinks | grep index | cut -d " " -f 5)
paplay --volume $* < /dev/null
pacmd set-sink-volume $CUR_SINK $CUR_VOLUME
paplay /usr/share/sounds/mate/default/alerts/drip.ogg