.\" Automatically generated by Pandoc 3.6.1 .\" .TH "ALLEGRO_AUDIO_EVENT_TYPE" "3" "" "Allegro reference manual" .SH NAME ALLEGRO_AUDIO_EVENT_TYPE \- Allegro 5 API .SH SYNOPSIS .IP .EX #include \f[B]\f[R] \f[B]enum\f[R] ALLEGRO_AUDIO_EVENT_TYPE .EE .SH DESCRIPTION Events sent by al_get_audio_stream_event_source(3) or al_get_audio_recorder_event_source(3). .SS ALLEGRO_EVENT_AUDIO_STREAM_FRAGMENT Sent when a stream fragment is ready to be filled in. See al_get_audio_stream_fragment(3). .SS ALLEGRO_EVENT_AUDIO_STREAM_FINISHED Sent when a stream is finished. .SS ALLEGRO_EVENT_AUDIO_RECORDER_FRAGMENT Sent after a user\-specified number of samples have been recorded. Convert this to ALLEGRO_AUDIO_RECORDER_EVENT(3) via al_get_audio_recorder_event(3). .PP You must always check the values for the buffer and samples as they are not guaranteed to be exactly what was originally specified. .SH SINCE 5.1.1 .RS .PP \f[I][Unstable API]:\f[R] The API may need a slight redesign. .RE