Ignore:
Timestamp:
Jun 24, 2010, 1:11:23 AM (14 years ago)
Author:
Jessica B. Hamrick <jhamrick@…>
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)
Message:

Improve configuration and fine-tune zephyrs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gutenbach/debian/lib/volume-mute

    r94a58ce r28836c2  
    66instance="$queue-volume@$host"
    77
     8mixer=$(sipbmp3-get-config mixer)
    89channel=$(sipbmp3-get-config channel)
    910
    10 zwrite -c $class -i $instance -d -n -m "Toggling mute on $queue"
     11result=$(amixer set $mixer toggle)
     12echo "$result"
     13volstat=$(echo $result | grep "$channel" \
     14 | perl -lne 'print $1 if (/: Playback .*\[(on|off)\]$/)'
     15)
    1116
    12 amixer set $channel toggle
     17zwrite -c $class -i $instance -d -n -m "$REMOTE_USER set volume $volstat" > /dev/null
Note: See TracChangeset for help on using the changeset viewer.