1free_audio_stream_buffer(3)     Allegro manual     free_audio_stream_buffer(3)
2
3
4

NAME

6       free_audio_stream_buffer  -  Tells the audio stream player new data can
7       be played. Allegro game programming library.
8

SYNOPSIS

10       #include <allegro.h>
11
12
13       void free_audio_stream_buffer(AUDIOSTREAM *stream);
14

DESCRIPTION

16       Call this function after get_audio_stream_buffer() returns  a  non-NULL
17       address,  to  indicate  that  you have loaded a new block of samples to
18       that location and the data is now ready to be played. Example:
19
20          mem_chunk = get_audio_stream_buffer(buffer);
21          if (mem_chunk != NULL) {
22             /* Refill the stream buffer. */
23             ...
24             free_audio_stream_buffer(buffer);
25          }
26
27
28
29

SEE ALSO

31       get_audio_stream_buffer(3), exstream(3)
32
33
34
35Allegro                          version 4.4.3     free_audio_stream_buffer(3)
Impressum