On this page
AudioStreamMP3
Inherits: AudioStream < Resource < Reference < Object
MP3 audio stream driver.
Description
MP3 audio stream driver.
Properties
|
||
|
||
|
Property Descriptions
PoolByteArray data
Default |
|
Setter |
set_data(value) |
Getter |
get_data() |
Contains the audio data in bytes.
bool loop
Default |
|
Setter |
set_loop(value) |
Getter |
has_loop() |
If true
, the stream will automatically loop when it reaches the end.
float loop_offset
Default |
|
Setter |
set_loop_offset(value) |
Getter |
get_loop_offset() |
Time in seconds at which the stream starts after being looped.
© 2014–2021 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
https://docs.godotengine.org/en/3.3/classes/class_audiostreammp3.html