al_destroy_sample_instance man page

al_destroy_sample_instance — Allegro 5 API

Synopsis

#include <allegro5/allegro_audio.h>

void al_destroy_sample_instance(ALLEGRO_SAMPLE_INSTANCE *spl)

Description

Detaches the sample instance from anything it may be attached to and frees it (the sample data, i.e. its ALLEGRO_SAMPLE, is not freed!).

See Also

al_create_sample_instance(3)

Referenced By

al_create_sample_instance(3), al_destroy_sample(3).

Allegro reference manual