Audio stream events
Closed this issue · 3 comments
ariSunz commented
Correct me if I'm wrong, but is there not a way catch ALLEGRO_AUDIO_EVENT_TYPE (and more precisely, ALLEGRO_EVENT_AUDIO_STREAM_FRAGMENT) yet?
Also, semi related, I found what seems to be a typo in the audio FFI code: the binding for al_get_audio_stream_event_source is "get-sudio-stream-event-source"
resttime commented
Looks like there isn't, I'll work on adding it in when I get more time.
And yup typo is there for easy fix and pushed, thanks!
resttime commented
Event type should be added now with c7fc389.
Fix was simpler than first thought since it's been a while. Usage ends up as another event type that gets emitted to check for:
:-kcm-stream-feeder-quit-event-type
:audio-stream-fragment
:audio-stream-finished
:audio-recorder-fragment
ariSunz commented
Awesome, thank you so much!