Function sfml::audio::listener::set_global_volume [−][src]
pub fn set_global_volume(volume: f32)
Change the global volume of all the sounds and musics
The volume is a number between 0 and 100, it is combined with the individual volume of each sound / music. The default value for the volume is 100 (maximum).
Arguments
- volume - The new global volume, in the range [0, 100]