free_audio_stream_buffer man page on DragonFly
Printed from http://www.polarhome.com/service/man/?qf=free_audio_stream_buffer&af=0&tf=2&of=DragonFly
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
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);
}
SEE ALSO
get_audio_stream_buffer(3), exstream(3)
Allegro version 4.4.2 free_audio_stream_buffer(3)
[top]
List of man pages available for DragonFly
Copyright (c) for man pages and the logo by the respective OS vendor.
For those who want to learn more, the polarhome community provides shell access and support.
[legal]
[privacy]
[GNU]
[policy]
[cookies]
[netiquette]
[sponsors]
[FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
|
Vote for polarhome
|