Subsonic
Subsonic copied to clipboard
Idea: Trigger an action when sound/audio finished playing
Hey, Subsonic is amazing! It would be great if there was a version of play() with a trailing closure that could contain an action to be triggered whenever the sound/audio finished playing. Cheers :)
This sounds great! This is an open-source project, so I'd love to see you tackle this and submit a pull request.
I submitted a pull request with a proposal how to achieve the described functionality. I would appreciate it if you could have a look. Let me know if there is anything ti be changed - this is my first pull request for an open source project, ever :D
Thank you! It's much appreciated 🙌 I've asked for a little extra clarity about the code just to make sure it's all polished up, but hopefully this can get merged in soon.
Hi! I made some changes to my pull request and hope that those address you concerns. Did you already have a chance to check those? Cheers!