SYNOPSIS

#include <allegro.h>

void free_audio_stream_buffer(AUDIOSTREAM *stream);

DESCRIPTION

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. */
      ...
      free_audio_stream_buffer(buffer);
   }

RELATED TO free_audio_stream_buffer…

get_audio_stream_buffer(3alleg4), exstream(3alleg4)