# 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 |
||
|---|---|---|
| .. | ||
| audio_control.rs | ||
| audio.rs | ||
| decodable.rs | ||
| pitch.rs | ||
| soundtrack.rs | ||
| spatial_audio_2d.rs | ||
| spatial_audio_3d.rs | ||