AudioStreamSynchronized
Stream that can be fitted with sub-streams, which will be played in-sync.
Stream that can be fitted with sub-streams, which will be played in-sync.
This is a stream that can be fitted with sub-streams, which will be played in-sync. The streams begin at exactly the same time when play is pressed, and will end when the last of them ends. If one of the sub-streams loops, then playback will continue.
Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.
Constructors1
AudioStreamSynchronizedConstructor
public AudioStreamSynchronized();Properties1
StreamCountProperty
public int StreamCount { get; set; }Set the total amount of streams that will be played back synchronized.
Methods6
GetStreamCountint
public int GetStreamCount();intGetSyncStreamAudioStream
public AudioStream GetSyncStream(int streamIndex);Get one of the synchronized streams, by index.
| Name | Type | Default |
|---|---|---|
streamIndex | int | — |
AudioStreamGetSyncStreamVolumefloat
public float GetSyncStreamVolume(int streamIndex);Get the volume of one of the synchronized streams, by index.
| Name | Type | Default |
|---|---|---|
streamIndex | int | — |
floatSetStreamCountvoid
public void SetStreamCount(int streamCount);| Name | Type | Default |
|---|---|---|
streamCount | int | — |
SetSyncStreamvoid
public void SetSyncStream(int streamIndex, AudioStream audioStream);Set one of the synchronized streams, by index.
| Name | Type | Default |
|---|---|---|
streamIndex | int | — |
audioStream | AudioStream | — |
SetSyncStreamVolumevoid
public void SetSyncStreamVolume(int streamIndex, float volumeDb);Set the volume of one of the synchronized streams, by index.
| Name | Type | Default |
|---|---|---|
streamIndex | int | — |
volumeDb | float | — |
Fields and constants1
MaxStreamsField
public const long MaxStreams = 32;Maximum amount of streams that can be synchronized.