.\" Automatically generated by Pandoc 3.1.11.1 .\" .TH "al_drain_audio_stream" "3" "" "Allegro reference manual" "" .SH NAME al_drain_audio_stream \- Allegro 5 API .SH SYNOPSIS .IP .EX #include void al_drain_audio_stream(ALLEGRO_AUDIO_STREAM *stream) .EE .SH DESCRIPTION You should call this to finalise an audio stream that you will no longer be feeding, to wait for all pending buffers to finish playing. The stream\[cq]s playing state will change to false. .SH SEE ALSO al_destroy_audio_stream(3)