logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

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);
          }

Name

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

See Also

get_audio_stream_buffer(3alleg4), exstream(3alleg4)

Allegro                                           version 4.4.3                free_audio_stream_buffer(3alleg4)

Synopsis

#include<allegro.h>voidfree_audio_stream_buffer(AUDIOSTREAM*stream);

See Also