al_destroy_audio_stream
void al_destroy_audio_stream(ALLEGRO_AUDIO_STREAM *stream)
Introduced in 5.0.0
Destroy an audio stream which was created with al_create_audio_stream or al_load_audio_stream.
Note: If the stream is still attached to a mixer or voice, al_detach_audio_stream is automatically called on it first.
See also: al_drain_audio_stream.
Examples: ex_mixer_pp, ex_saw, ex_stream_file, ex_stream_seek, ex_synth
Most helpful discussions:
- Difficulty compiling on Windows
- Screen is cleared and a new one appears Allegro5 in C?
- Audio waveform with unexpected frequency behavior
- Random deadlocks playing WAV sounds (Windows, MSVC)
- al_load_sample's loading many data
- ALLEGRO_AUDIO_STREAM possible to add API to access the 'extra' ponter?
- switching stream files
- destroy a newly loaded audio stream will cause program freeze.
- (A5) random crash on al_detach_voice()
- Allegro audio stream outputs no sound
Other recent discussions: