Skip to content

Commit

Permalink
Don't go over 100% sound volume in sound applet
Browse files Browse the repository at this point in the history
  • Loading branch information
clefebvre committed Jul 17, 2012
1 parent 65a511b commit 7959517
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -720,7 +720,7 @@ MyApplet.prototype = {
this._control.connect('default-source-changed', Lang.bind(this, this._readInput));
this._control.connect('stream-added', Lang.bind(this, this._maybeShowInput));
this._control.connect('stream-removed', Lang.bind(this, this._maybeShowInput));
this._volumeMax = 1.5*this._control.get_vol_max_norm();
this._volumeMax = 1*this._control.get_vol_max_norm(); // previously was 1.5*this._control.get_vol_max_norm();, but we'd need a little mark on the slider to make it obvious to the user we're going over 100%..

this._output = null;
this._outputVolumeId = 0;
Expand Down

0 comments on commit 7959517

Please sign in to comment.