free_audio_stream_buffer man page

free_audio_stream_buffer — Tells the audio stream player new data can be played. Allegro game programming library.


#include <allegro.h>

void free_audio_stream_buffer(AUDIOSTREAM *stream);


Call this function after get_audio_stream_buffer() returns a non-NULL address, to indicate that you have loaded a new block of samples to that location and the data is now ready to be played. Example:

mem_chunk = get_audio_stream_buffer(buffer);
if (mem_chunk != NULL) {
   /* Refill the stream buffer. */

See Also

get_audio_stream_buffer(3), exstream(3)

Referenced By

exstream(3), get_audio_stream_buffer(3).

Explore man page connections for free_audio_stream_buffer(3).

Allegro version 4.4.2 Allegro manual