set_volume


Description:

public void set_volume (double val)

Sets the volume level of the stream as a percentage between 0 and 1.

Parameters:

this

Play instance

val

the new volume level, as a percentage between 0 and 1