Implemented method for setting the volume of a wavesurfer object.