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:
94a58ce
Parents:
32b323f
git-author:
Alex Dehnert <adehnert@…> (10/10/09 22:35:29)
git-committer:
Jessica B. Hamrick <jhamrick@…> (06/24/10 01:11:23)
Message:

Actually implement channel configurability

File:
1 edited

Legend:

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

    rb1d66d4 r5dd3058  
    55queue=$(sipbmp3-get-config queue)
    66instance="$queue-volume@$host"
    7 zwrite -c $class -i $instance -n -m "Setting volume to $2 on $queue"
    87
    9 amixer set Headphone "$2" \
     8channel=$(sipbmp3-get-config channel)
     9
     10amixer set $channel "$2" \
    1011 | perl -lne 'print $1 if (/Front Left: Playback ([0-9]+)/)'
     12
     13zwrite -c $class -i $instance -n -m "Setting volume to $(volume-get) on $queue"
Note: See TracChangeset for help on using the changeset viewer.