SwiftySound
SwiftySound copied to clipboard
Playback time
trafficstars
Would it be possible to include an elapsed time in this library, so even if the sound is being looped you can see how long it has been playing for?
@totidev Could you please share more information about your use case? Do you want to display and update the time elapsed in your UI every second? Or do you want the information only once?
I would use it for updating the UI.
Agree that this would make a great enhancement.
Need a property like AVPlayer's currenTime
That would be really cool!