set_volume


Description:

public void set_volume (double volume)

Set the volume of the player.

The value should be within 0 - 2.0 range, where 1.0 is 100% volume and anything above results with an overamplification.

Parameters:

this

a Player

volume

the volume level.