AudioStreamMP3

Inherits: AudioStream < Resource < RefCounted < Object

MP3 audio stream driver.

Description

MP3 audio stream driver.

Properties

PackedByteArray

data

PackedByteArray()

bool

loop

false

float

loop_offset

0.0

Property Descriptions

Default

PackedByteArray()

Setter

set_data(value)

Getter

get_data()

Contains the audio data in bytes.


Default

false

Setter

set_loop(value)

Getter

has_loop()

If true, the stream will automatically loop when it reaches the end.


Default

0.0

Setter

set_loop_offset(value)

Getter

get_loop_offset()

Time in seconds at which the stream starts after being looped.