Changeset bbede33


Ignore:
Timestamp:
Sep 9, 2010, 5:54:54 PM (14 years ago)
Author:
Mats Erik Ahlgren <mats.ahlgren@…>
Branches:
master, debian, mac, no-cups
Children:
d8d9c7a
Parents:
e01a3af
git-author:
Mats Erik Ahlgren <mats.ahlgren@…> (09/09/10 17:54:54)
git-committer:
Mats Erik Ahlgren <mats.ahlgren@…> (09/09/10 17:54:54)
Message:

[remctl v up] is now less verbose; requested by pquimby

File:
1 edited

Legend:

Unmodified
Added
Removed
  • remctl/lib/gutenbach/volume-helper.py

    re01a3af rbbede33  
    3131                tempV = int(v + (newV-v)*frac)
    3232                command = ['amixer', 'set', 'PCM', str(tempV)]
    33                 print tempV
     33                #print tempV
    3434                sys.stdout.flush()
    3535                call(command, stdout=PIPE)
     
    4343
    4444newVolume = map[arg]
    45 print 'Smoothly modifying over 3 seconds... (from %i)' % v
     45
     46# Alert user
     47print 'Smoothly modifying over next 3 seconds, by ~3dB (from %i to %i)...' % (v, newVolume)
    4648sys.stdout.flush()
     49
     50# Adjust volume
    4751setVolume(newVolume)
     52
     53# Alert user
    4854print 'Volume adjust finished.'
     55
     56# Send zephyr
    4957call([j(currentDir,'volume-zephyr')])
     58
Note: See TracChangeset for help on using the changeset viewer.