view .hgtags @ 74:c112e4576832

Fixed remaining fading bug for pause/resume. My technique was wrong. I computed the amount of time remaining on pause and when I resumed, I grabbed the current time as the start and used the time remaining as the end. I think this is wrong because the volume curve may not be linear if I do this. Instead, I will try saving the time remaining, but preserve the original fade duration. Then I will adjust the start time for the amount already played. So I don't need to create another variable, I will overwrite the fade start.
author Eric Wing <ewing . public |-at-| gmail . com>
date Fri, 10 Aug 2012 23:38:56 -0700
parents c8282222421c
children
line wrap: on
line source

a71ed111a6275fb7768ccabb2f1ae81fa697fa62 0.1.0_FirstPublicRelease