tesselode / kira

Library for expressive game audio.
https://crates.io/crates/kira
Apache License 2.0
855 stars 43 forks source link

Add duration to StreamingSoundData #71

Closed ikbencasdoei closed 9 months ago

ikbencasdoei commented 9 months ago

Quickly added a way to get the duration from a StreamingSoundData. It seems to be working, but I'm unsure if this is the correct way. Any feedback would be greatly appreciated.

tesselode commented 9 months ago

Made a couple tweaks, but other than that, it looks good! Thank you!