ALLEGRO_AUDIO_EVENT_TYPE - Allegro 5 API
Sent when a stream fragment is ready to be filled in. See
Sent when a stream is finished.
Sent after a user-specified number of samples have been recorded. Convert this
to ALLEGRO_AUDIO_RECORDER_EVENT(3alleg5) via
You must always check the values for the buffer and samples as they are not
guaranteed to be exactly what was originally specified.
The API may need a slight redesign.