AudioStreamPlaylist
繼承: AudioStream < Resource < RefCounted < Object
包含子串流並以播放清單方式播放的 AudioStream。
屬性
|
||
|
||
|
||
|
方法
get_bpm() const |
|
get_list_stream(stream_index: int) const |
|
void |
set_list_stream(stream_index: int, audio_stream: AudioStream) |
常數
MAX_STREAMS = 64 🔗
播放清單可支援的最大串流數量。
屬性說明
當一個串流結束並轉到下一個時所使用的淡出時間。建議各串流在結尾保留些許額外音訊以利淡出。
若為 true,播放清單將循環播放;否則在最後一個串流播放完畢後停止。
若為 true,每次開始播放或重新循環時播放清單將重新隨機排序。
播放清單中的串流數量。
方法說明
返回播放清單的 BPM,可能隨目前播放的片段而異。
AudioStream get_list_stream(stream_index: int) const 🔗
返回指定播放位置索引處的串流。
void set_list_stream(stream_index: int, audio_stream: AudioStream) 🔗
設定指定播放位置索引處的串流。