.\" Automatically generated by Pandoc 2.9.2.1 .\" .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[R] .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\[cq]s playing state will change to false. .SH SEE ALSO .PP al_destroy_audio_stream(3alleg5)