bevy/examples/audio
ZoOL a35eed0ea4
fix: Ensure linear volume subtraction does not go below zero (#19423)
fix: [Ensure linear volume subtraction does not go below zero
](https://github.com/bevyengine/bevy/issues/19417)

## Solution
- Clamp the result of linear volume subtraction to a minimum of 0.0
- Add a new test case to verify behavior when subtracting beyond zero

---------

Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com>
Co-authored-by: Jan Hohenheim <jan@hohenheim.ch>
2025-06-05 03:59:20 +00:00
..
audio_control.rs fix: Ensure linear volume subtraction does not go below zero (#19423) 2025-06-05 03:59:20 +00:00
audio.rs AudioPlayer::new() (#16287) 2024-11-08 01:51:50 +00:00
decodable.rs Support decibels in bevy_audio::Volume (#17605) 2025-02-10 21:26:43 +00:00
pitch.rs Renamed EventWriter::send methods to write. (#17977) 2025-02-23 21:18:52 +00:00
soundtrack.rs fix: Ensure linear volume subtraction does not go below zero (#19423) 2025-06-05 03:59:20 +00:00
spatial_audio_2d.rs Update sprite_slice, spatial_audio_3d, spatial_audio_2d examples to use children macro (#18318) 2025-03-20 23:38:12 +00:00
spatial_audio_3d.rs Update sprite_slice, spatial_audio_3d, spatial_audio_2d examples to use children macro (#18318) 2025-03-20 23:38:12 +00:00