Ignore:
Timestamp:
Jun 24, 2010, 12:50:25 AM (14 years ago)
Author:
Jessica B. Hamrick <jhamrick@…>
Branches:
master, debian, mac, no-cups, web
Children:
2249bb2
Parents:
6bb3ffb
git-author:
Alex Dehnert <adehnert@…> (10/10/09 17:38:48)
git-committer:
Jessica B. Hamrick <jhamrick@…> (06/24/10 00:50:25)
Message:

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
File:
1 edited

Legend:

Unmodified
Added
Removed
  • gutenbach-remctl/volume-mute

    r6bb3ffb r70b38df  
    11#!/bin/sh
    22PATH="$(dirname $0):$PATH"
     3class=$(sipbmp3-get-config zephyr-class)
     4host=$(sipbmp3-get-config host)
     5queue=$(sipbmp3-get-config queue)
     6instance="$queue-volume@$host"
     7zwrite -c $class -i $instance -n -m "Toggling mute on $queue"
     8
    39amixer set Headphone toggle
Note: See TracChangeset for help on using the changeset viewer.