bevy/crates/bevy_audio/src
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_output.rs Support decibels in bevy_audio::Volume (#17605) 2025-02-10 21:26:43 +00:00
audio_source.rs Cleanup unneeded lifetimes in bevy_asset (#15546) 2024-09-30 21:54:59 +00:00
audio.rs bevy_reflect: Add clone registrations project-wide (#18307) 2025-03-17 18:32:35 +00:00
lib.rs Adopt consistent FooSystems naming convention for system sets (#18900) 2025-05-06 15:18:03 +00:00
pitch.rs Remove all deprecated code (#16338) 2025-01-05 20:33:39 +00:00
sinks.rs Add AudioSinkPlayback::position (#19173) 2025-05-26 17:50:40 +00:00
volume.rs bevy_reflect: Add clone registrations project-wide (#18307) 2025-03-17 18:32:35 +00:00