diff --git a/crates/bevy_audio/src/audio.rs b/crates/bevy_audio/src/audio.rs index 80159eb7ef..57a0eebb4c 100644 --- a/crates/bevy_audio/src/audio.rs +++ b/crates/bevy_audio/src/audio.rs @@ -50,6 +50,9 @@ impl VolumeLevel { pub fn get(&self) -> f32 { self.0 } + + /// Zero (silent) volume level + pub const ZERO: Self = VolumeLevel(0.0); } /// The way Bevy manages the sound playback.