1al_drain_audio_stream(3) Library Functions Manual al_drain_audio_stream(3)
23
4
NAME
6al_drain_audio_stream
7
SYNOPSIS
9#include <allegro5/allegro_audio.h>
1011
void al_drain_audio_stream(ALLEGRO_AUDIO_STREAM *stream)
12
DESCRIPTION
14You should call this to finalise an audio stream that you will no
15longer be feeding, to wait for all pending buffers to finish playing.
16The stream's playing state will change to false.
1718
19
20
Allegro reference manual al_drain_audio_stream(3)