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.

AudioStreamPlayback

Inherits: RefCounted < Object

Inherited By: AudioStreamPlaybackPolyphonic, AudioStreamPlaybackResampled

播放音频的元类。

Description

可以播放、循环播放、暂停滚动播放音频。有关用法,请参阅 AudioStreamAudioStreamOggVorbis

Tutorials

Methods

int

_get_loop_count ( ) virtual const

float

_get_playback_position ( ) virtual const

bool

_is_playing ( ) virtual const

int

_mix ( AudioFrame* buffer, float rate_scale, int frames ) virtual

void

_seek ( float position ) virtual

void

_start ( float from_pos ) virtual

void

_stop ( ) virtual

void

_tag_used_streams ( ) virtual


Method Descriptions

int _get_loop_count ( ) virtual const

There is currently no description for this method. Please help us by contributing one!


float _get_playback_position ( ) virtual const

There is currently no description for this method. Please help us by contributing one!


bool _is_playing ( ) virtual const

There is currently no description for this method. Please help us by contributing one!


int _mix ( AudioFrame* buffer, float rate_scale, int frames ) virtual

There is currently no description for this method. Please help us by contributing one!


void _seek ( float position ) virtual

There is currently no description for this method. Please help us by contributing one!


void _start ( float from_pos ) virtual

There is currently no description for this method. Please help us by contributing one!


void _stop ( ) virtual

There is currently no description for this method. Please help us by contributing one!


void _tag_used_streams ( ) virtual

There is currently no description for this method. Please help us by contributing one!