SYNOPSIS

  • #include <allegro5/allegro_audio.h>
    
    void al_destroy_audio_stream(ALLEGRO_AUDIO_STREAM *stream)
    
    

DESCRIPTION

Destroy an audio stream which was created with al_create_audio_stream(3alleg5) or al_load_audio_stream(3alleg5).

Note: If the stream is still attached to a mixer or voice, al_detach_audio_stream(3alleg5) is automatically called on it first.

RELATED TO al_destroy_audio_stream…

al_drain_audio_stream(3alleg5).