.\" Automatically generated by Pandoc 1.17.2 .\" .TH "al_drain_audio_stream(3alleg5) Allegro reference manual" "" "" "" "" .hy .SH NAME .PP al_drain_audio_stream \- Allegro 5 API .SH SYNOPSIS .IP .nf \f[C] #include\ void\ al_drain_audio_stream(ALLEGRO_AUDIO_STREAM\ *stream) \f[] .fi .SH DESCRIPTION .PP 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\[aq]s playing state will change to false. .SH SEE ALSO .PP al_destroy_audio_stream(3alleg5)