Up to date
This page is up to date for Godot
If you still find outdated information, please open an issue.
Plays back audio generated using AudioStreamGenerator.
This class is meant to be used with AudioStreamGenerator to play back the generated audio in real-time.
clear_buffer ( )
get_frames_available ( ) const
get_skips ( ) const
true if a buffer of the size
amount can be pushed to the audio sample data buffer without overflowing it,
void clear_buffer ( )
Clears the audio sample data buffer.
int get_frames_available ( ) const
Returns the number of frames that can be pushed to the audio sample data buffer without overflowing it. If the result is
0, the buffer is full.
int get_skips ( ) const
Returns the number of times the playback skipped due to a buffer underrun in the audio sample data. This value is reset at the start of the playback.