AudioStreamMP3

Inherits: AudioStream < Resource < Reference < Object

MP3 audio stream driver.

Description

MP3 audio stream driver.

Properties

PoolByteArray

data

PoolByteArray(  )

bool

loop

false

float

loop_offset

0.0


Property Descriptions

PoolByteArray data = PoolByteArray(  )

Contains the audio data in bytes.


bool loop = false

  • void set_loop ( bool value )

  • bool has_loop ( )

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


float loop_offset = 0.0

  • void set_loop_offset ( float value )

  • float get_loop_offset ( )

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