1al_unlock_sample_id(3)                                  al_unlock_sample_id(3)
2
3
4

NAME

6       al_unlock_sample_id - Allegro 5 API
7

SYNOPSIS

9              #include <allegro5/allegro_audio.h>
10
11              void al_unlock_sample_id(ALLEGRO_SAMPLE_ID *spl_id)
12

DESCRIPTION

14       Unlocks  a  ALLEGRO_SAMPLE_ID(3), allowing future calls to al_play_sam‐
15       ple(3) to reuse it if possible.  Note that after the  id  is  unlocked,
16       the   ALLEGRO_SAMPLE_INSTANCE(3)   that   was  previously  returned  by
17       al_lock_sample_id(3) will possibly be playing a different sound, so you
18       should only use it after locking the id again.
19

SEE ALSO

21       al_play_sample(3), al_lock_sample_id(3)
22

SINCE

24       5.2.3
25
26              [Unstable API]: New API.
27
28
29
30Allegro reference manual                                al_unlock_sample_id(3)
Impressum