AudioStreamPlaylist
AudioStream that includes sub-streams and plays them back like a playlist.
AudioStream that includes sub-streams and plays them back like a playlist.
An audio stream that can play back sub-streams in sequence. Streams can be added to the Playlist with AudioStreamPlaylist.SetListStream, and shuffled with AudioStreamPlaylist.Shuffle.
Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.
Constructors1
AudioStreamPlaylistConstructor
public AudioStreamPlaylist();Properties68
FadeTimeProperty
public float FadeTime { get; set; }Fade time used when a stream ends, when going to the next one. Streams are expected to have an extra bit of audio after the end to help with fading.
LoopProperty
public bool Loop { get; set; }If true, the playlist will loop, otherwise the playlist will end when the last stream is finished.
ShuffleProperty
public bool Shuffle { get; set; }If true, the playlist will shuffle each time playback starts and each time it loops.
Stream0Property
public AudioStream Stream0 { get; set; }Stream1Property
public AudioStream Stream1 { get; set; }Stream10Property
public AudioStream Stream10 { get; set; }Stream11Property
public AudioStream Stream11 { get; set; }Stream12Property
public AudioStream Stream12 { get; set; }Stream13Property
public AudioStream Stream13 { get; set; }Stream14Property
public AudioStream Stream14 { get; set; }Stream15Property
public AudioStream Stream15 { get; set; }Stream16Property
public AudioStream Stream16 { get; set; }Stream17Property
public AudioStream Stream17 { get; set; }Stream18Property
public AudioStream Stream18 { get; set; }Stream19Property
public AudioStream Stream19 { get; set; }Stream2Property
public AudioStream Stream2 { get; set; }Stream20Property
public AudioStream Stream20 { get; set; }Stream21Property
public AudioStream Stream21 { get; set; }Stream22Property
public AudioStream Stream22 { get; set; }Stream23Property
public AudioStream Stream23 { get; set; }Stream24Property
public AudioStream Stream24 { get; set; }Stream25Property
public AudioStream Stream25 { get; set; }Stream26Property
public AudioStream Stream26 { get; set; }Stream27Property
public AudioStream Stream27 { get; set; }Stream28Property
public AudioStream Stream28 { get; set; }Stream29Property
public AudioStream Stream29 { get; set; }Stream3Property
public AudioStream Stream3 { get; set; }Stream30Property
public AudioStream Stream30 { get; set; }Stream31Property
public AudioStream Stream31 { get; set; }Stream32Property
public AudioStream Stream32 { get; set; }Stream33Property
public AudioStream Stream33 { get; set; }Stream34Property
public AudioStream Stream34 { get; set; }Stream35Property
public AudioStream Stream35 { get; set; }Stream36Property
public AudioStream Stream36 { get; set; }Stream37Property
public AudioStream Stream37 { get; set; }Stream38Property
public AudioStream Stream38 { get; set; }Stream39Property
public AudioStream Stream39 { get; set; }Stream4Property
public AudioStream Stream4 { get; set; }Stream40Property
public AudioStream Stream40 { get; set; }Stream41Property
public AudioStream Stream41 { get; set; }Stream42Property
public AudioStream Stream42 { get; set; }Stream43Property
public AudioStream Stream43 { get; set; }Stream44Property
public AudioStream Stream44 { get; set; }Stream45Property
public AudioStream Stream45 { get; set; }Stream46Property
public AudioStream Stream46 { get; set; }Stream47Property
public AudioStream Stream47 { get; set; }Stream48Property
public AudioStream Stream48 { get; set; }Stream49Property
public AudioStream Stream49 { get; set; }Stream5Property
public AudioStream Stream5 { get; set; }Stream50Property
public AudioStream Stream50 { get; set; }Stream51Property
public AudioStream Stream51 { get; set; }Stream52Property
public AudioStream Stream52 { get; set; }Stream53Property
public AudioStream Stream53 { get; set; }Stream54Property
public AudioStream Stream54 { get; set; }Stream55Property
public AudioStream Stream55 { get; set; }Stream56Property
public AudioStream Stream56 { get; set; }Stream57Property
public AudioStream Stream57 { get; set; }Stream58Property
public AudioStream Stream58 { get; set; }Stream59Property
public AudioStream Stream59 { get; set; }Stream6Property
public AudioStream Stream6 { get; set; }Stream60Property
public AudioStream Stream60 { get; set; }Stream61Property
public AudioStream Stream61 { get; set; }Stream62Property
public AudioStream Stream62 { get; set; }Stream63Property
public AudioStream Stream63 { get; set; }Stream7Property
public AudioStream Stream7 { get; set; }Stream8Property
public AudioStream Stream8 { get; set; }Stream9Property
public AudioStream Stream9 { get; set; }StreamCountProperty
public int StreamCount { get; set; }Amount of streams in the playlist.
Methods11
GetBpmdouble
public double GetBpm();Returns the BPM of the playlist, which can vary depending on the clip being played.
doubleGetFadeTimefloat
public float GetFadeTime();floatGetListStreamAudioStream
public AudioStream GetListStream(int streamIndex);Returns the stream at playback position index.
| Name | Type | Default |
|---|---|---|
streamIndex | int | — |
AudioStreamGetShufflebool
public bool GetShuffle();boolGetStreamCountint
public int GetStreamCount();intHasLoopbool
public bool HasLoop();boolSetFadeTimevoid
public void SetFadeTime(float dec);| Name | Type | Default |
|---|---|---|
dec | float | — |
SetListStreamvoid
public void SetListStream(int streamIndex, AudioStream audioStream);Sets the stream at playback position index.
| Name | Type | Default |
|---|---|---|
streamIndex | int | — |
audioStream | AudioStream | — |
SetLoopvoid
public void SetLoop(bool loop);| Name | Type | Default |
|---|---|---|
loop | bool | — |
SetShufflevoid
public void SetShuffle(bool shuffle);| Name | Type | Default |
|---|---|---|
shuffle | bool | — |
SetStreamCountvoid
public void SetStreamCount(int streamCount);| Name | Type | Default |
|---|---|---|
streamCount | int | — |
Fields and constants1
MaxStreamsField
public const long MaxStreams = 64;Maximum amount of streams supported in the playlist.