Attention: Here be dragons

This is the latest (unstable) version of this documentation, which may document features not available in or compatible with released stable versions of Godot.

AudioStreamGeneratorPlayback

Inherits: AudioStreamPlaybackResampled < AudioStreamPlayback < RefCounted < Object

Plays back audio generated using AudioStreamGenerator.

Description

This class is meant to be used with AudioStreamGenerator to play back the generated audio in real-time.

Tutorials

Methods

bool

can_push_buffer ( int amount ) const

void

clear_buffer ( )

int

get_frames_available ( ) const

int

get_skips ( ) const

bool

push_buffer ( PackedVector2Array frames )

bool

push_frame ( Vector2 frame )


Method Descriptions

bool can_push_buffer ( int amount ) const

Returns