- Timestamp:
- Jun 24, 2010, 1:10:51 AM (14 years ago)
- Branches:
- master, debian, mac, no-cups, nodebathena, web
- Children:
- 32b323f
- Parents:
- 12722bc
- git-author:
- Alex Dehnert <adehnert@…> (10/10/09 17:38:48)
- git-committer:
- Jessica B. Hamrick <jhamrick@…> (06/24/10 01:10:51)
- Location:
- gutenbach/debian/lib
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
gutenbach/debian/lib/volume-mute
r737d88b rb1d66d4 1 1 #!/bin/sh 2 2 PATH="$(dirname $0):$PATH" 3 class=$(sipbmp3-get-config zephyr-class) 4 host=$(sipbmp3-get-config host) 5 queue=$(sipbmp3-get-config queue) 6 instance="$queue-volume@$host" 7 zwrite -c $class -i $instance -n -m "Toggling mute on $queue" 8 3 9 amixer set Headphone toggle -
gutenbach/debian/lib/volume-set
r737d88b rb1d66d4 1 1 #!/bin/sh 2 2 PATH="$(dirname $0):$PATH" 3 class=$(sipbmp3-get-config zephyr-class) 4 host=$(sipbmp3-get-config host) 5 queue=$(sipbmp3-get-config queue) 6 instance="$queue-volume@$host" 7 zwrite -c $class -i $instance -n -m "Setting volume to $2 on $queue" 8 3 9 amixer set Headphone "$2" \ 4 10 | perl -lne 'print $1 if (/Front Left: Playback ([0-9]+)/)'
Note: See TracChangeset
for help on using the changeset viewer.