bevy/examples/audio
Weihnachtsbaum 841105a993
Add AudioSinkPlayback::position (#19173)
# Objective

- Allow users to get the playback position of playing audio.

## Solution

- Add a `position` method to `AudioSinkPlayback`
- Implement it for `AudioSink` and `SpatialAudioSink`

## Testing

- Updated `audio_control` example to show playback position
2025-05-26 17:50:40 +00:00
..
audio_control.rs Add AudioSinkPlayback::position (#19173) 2025-05-26 17:50:40 +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 Support decibels in bevy_audio::Volume (#17605) 2025-02-10 21:26:43 +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