reckfellENGINE

AudioStreamSynchronized

Stream that can be fitted with sub-streams, which will be played in-sync.

On this page
class AudioStreamSynchronizedReckfellSharpInherits AudioStream

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
# AudioStreamSynchronized
C#
public AudioStreamSynchronized();

Properties1

StreamCountProperty
# StreamCount
C#
public int StreamCount { get; set; }

Set the total amount of streams that will be played back synchronized.

Methods6

GetStreamCountint
# GetStreamCount
C#
public int GetStreamCount();
Returns int
GetSyncStreamAudioStream
# GetSyncStream
C#
public AudioStream GetSyncStream(int streamIndex);

Get one of the synchronized streams, by index.

Parameters
NameTypeDefault
streamIndexint—
Returns AudioStream
GetSyncStreamVolumefloat
# GetSyncStreamVolume
C#
public float GetSyncStreamVolume(int streamIndex);

Get the volume of one of the synchronized streams, by index.

Parameters
NameTypeDefault
streamIndexint—
Returns float
SetStreamCountvoid
# SetStreamCount
C#
public void SetStreamCount(int streamCount);
Parameters
NameTypeDefault
streamCountint—
SetSyncStreamvoid
# SetSyncStream
C#
public void SetSyncStream(int streamIndex, AudioStream audioStream);

Set one of the synchronized streams, by index.

Parameters
NameTypeDefault
streamIndexint—
audioStreamAudioStream—
SetSyncStreamVolumevoid
# SetSyncStreamVolume
C#
public void SetSyncStreamVolume(int streamIndex, float volumeDb);

Set the volume of one of the synchronized streams, by index.

Parameters
NameTypeDefault
streamIndexint—
volumeDbfloat—

Fields and constants1

MaxStreamsField
# MaxStreams
C#
public const long MaxStreams = 32;

Maximum amount of streams that can be synchronized.

Reckfell Engine documentationBack to top ↑
QUICK LINKSGetting startedEntity hierarchyC# & .NET 10Scenes and prefabs
Reckfell guides and full API K
reckfellENGINE
RECKFELL ACCOUNT

Sign in

Sign in to your Reckfell account.

One account for the entire Reckfell platform.