free_audio_stream_buffer

Tells the audio stream player new data can be played.

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);
      }
Examples using this:

Related Discussions

The following threads each have code containing this keyword: Note: You can click on the numbers to jump directly to the posts that reference this page.

Related Projects

The following projects include source code containing this keyword: