Changeset 86f0b5b


Ignore:
Timestamp:
Sep 23, 2010, 2:55:46 PM (14 years ago)
Author:
Mats Erik Ahlgren <mats.ahlgren@…>
Branches:
master, debian, mac, no-cups
Children:
8781af2
Parents:
a2944f6
git-author:
Mats Erik Ahlgren <mats.ahlgren@…> (09/23/10 14:55:46)
git-committer:
Mats Erik Ahlgren <mats.ahlgren@…> (09/23/10 14:55:46)
Message:

off-by-one counting error in smooth-volume-fade code (which should be supplanted by mplayer -slave)
it was scrolling from 0/10,1/10,...9/10, resulting in fades from 18-21 that only set the volume to 20

File:
1 edited

Legend:

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

    rbbede33 r86f0b5b  
    2727        v = getVolume()
    2828        newV = percent
    29         for i in range(10):
     29        for i in range(10+1):
    3030                frac = i/10
    3131                tempV = int(v + (newV-v)*frac)
Note: See TracChangeset for help on using the changeset viewer.