Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
free_audio_stream_buffer(3)	 Allegro manual      free_audio_stream_buffer(3)

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

SYNOPSIS
     #include <allegro.h>

     void free_audio_stream_buffer(AUDIOSTREAM *stream);

DESCRIPTION
     Call this function after get_audio_stream_buffer() returns a  non-NULL  ad-
     dress,  to indicate that you have loaded a new block of samples to that lo-
     cation 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);
	}

SEE ALSO
     get_audio_stream_buffer(3), exstream(3)

Allegro 			  version 4.4.3      free_audio_stream_buffer(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=free_audio_stream_buffer&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help