<key>Name</key>
<string>volumeUp</string>
<key>Description</key>
- <string>Bring the volume up by one step. There are 32 steps from 0 to 100% volume.</string>
+ <string>Bring the volume up by one step. There are 32 steps from 0 to 400% volume.</string>
</dict>
<key>volumeDown</key>
<dict>
<key>Name</key>
<string>volumeDown</string>
<key>Description</key>
- <string>Bring the volume down by one step. There are 32 steps from 0 to 100% volume.</string>
+ <string>Bring the volume down by one step. There are 32 steps from 0 to 400% volume.</string>
</dict>
</dict>
</dict>
if( strstr(vol, "%") != NULL )
{
i_value = atoi( vol );
- if( (i_value <= 100) && (i_value>=0) ){
- aout_VolumeSet( p_intf, (i_value * (AOUT_VOLUME_MAX - AOUT_VOLUME_MIN))/100+AOUT_VOLUME_MIN);
+ if( (i_value <= 400) && (i_value>=0) ){
+ aout_VolumeSet( p_intf, (i_value * (AOUT_VOLUME_MAX - AOUT_VOLUME_MIN))/400+AOUT_VOLUME_MIN);
msg_Dbg( p_intf, "requested volume set: %i%%", atoi( vol ));
}
} else
if( p_intf->p_sys->b_volume_update )
{
NSString *o_text;
- o_text = [NSString stringWithFormat: _NS("Volume: %d"), i_lastShownVolume * 200 / AOUT_VOLUME_MAX];
+ o_text = [NSString stringWithFormat: _NS("Volume: %d%%"), i_lastShownVolume * 400 / AOUT_VOLUME_MAX];
if( i_lastShownVolume != -1 )
[self setScrollField:o_text stopAfter:1000000];
if ( seconds < 10 ) seconds = "0" + seconds;
document.getElementById('length').innerHTML = hours+":"+minutes+":"+seconds;
got_volume = <vlc id="value" param1="volume" />;
- document.getElementById( 'volume').innerHTML = Math.ceil(got_volume * 100/1024) + " %";
+ document.getElementById( 'volume').innerHTML = Math.ceil(got_volume * 400/1024) + " %";
</script>
</body>
</html>