falconindy / ponymix

CLI volume control for PulseAudio
MIT License
177 stars 27 forks source link

Clamp volumes between a more intelligent range #17

Closed vodik closed 11 years ago

vodik commented 11 years ago

This handles volume increment/decrement better when volume is >100%.

If volume is above 100%, incrementing or decrementing the volume will automatically drop it back down to 100%. It be better if decrementing worked as expected and we just didn't increment the volume further.

falconindy commented 11 years ago

Yeah. This is totally broke.

$ ./ponymix increase 5
45
$ ./ponymix increase 5
45
$ ./ponymix increase 5
45
falconindy commented 11 years ago

7d987d2d5e18d60a3faa84edff8f9738ac90f068 fixes this.

vodik commented 11 years ago

Derp