.\" Automatically generated by Pandoc 3.1.3 .\" .\" Define V font for inline verbatim, using C font in formats .\" that render this, and otherwise B font. .ie "\f[CB]x\f[]"x" \{\ . ftr V B . ftr VI BI . ftr VB B . ftr VBI BI .\} .el \{\ . ftr V CR . ftr VI CI . ftr VB CB . ftr VBI CBI .\} .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)