Changeset 28836c2 for gutenbach/debian/lib/volume-mute
- Timestamp:
- Jun 24, 2010, 1:11:23 AM (14 years ago)
- Branches:
- master, debian, mac, no-cups, nodebathena, web
- Children:
- 9f0c46e
- Parents:
- 94a58ce
- git-author:
- root <root@…> (10/11/09 00:58:04)
- git-committer:
- Jessica B. Hamrick <jhamrick@…> (06/24/10 01:11:23)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gutenbach/debian/lib/volume-mute
r94a58ce r28836c2 6 6 instance="$queue-volume@$host" 7 7 8 mixer=$(sipbmp3-get-config mixer) 8 9 channel=$(sipbmp3-get-config channel) 9 10 10 zwrite -c $class -i $instance -d -n -m "Toggling mute on $queue" 11 result=$(amixer set $mixer toggle) 12 echo "$result" 13 volstat=$(echo $result | grep "$channel" \ 14 | perl -lne 'print $1 if (/: Playback .*\[(on|off)\]$/)' 15 ) 11 16 12 amixer set $channel toggle 17 zwrite -c $class -i $instance -d -n -m "$REMOTE_USER set volume $volstat" > /dev/null
Note: See TracChangeset
for help on using the changeset viewer.