debianmacno-cupsnodebathenaweb
Last change
on this file since b1d66d4 was
b1d66d4,
checked in by Jessica B. Hamrick <jhamrick@…>, 15 years ago
|
Send zephyrs on volume change operations
- Adds sipbmp3-get-config to retrieve configuration
parameters.
- Makes volume-mute and volume-set send zephyrs to
-i $queue-volume@$host on volume-change requests
|
-
Property mode set to
100755
|
File size:
266 bytes
|
Rev | Line | |
---|
[83733c9] | 1 | #!/bin/sh |
---|
[737d88b] | 2 | PATH="$(dirname $0):$PATH" |
---|
[b1d66d4] | 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 | |
---|
[83733c9] | 9 | amixer set Headphone toggle |
---|
Note: See
TracBrowser
for help on using the repository browser.