C# Класс GAudio.GATAudioThreadStreamToTrack

Routes a mono stream to a player's track. Note that trying to route multiple streams to the same track will throw an exception.
Наследование: IGATAudioThreadStreamClient, IGATTrackContributor
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
GATAudioThreadStreamToTrack ( GATTrack track, IGATAudioThreadStream stream, bool exclusive ) : System.Collections

Streaming to the specified track will not begin until Start() is called.

Start ( ) : void

Starts mixing the stream to the specified track. An exception is thrown if the track already has a contributor.

Stop ( ) : void

Stops streaming to the track, which will then be available to other contributors.

Приватные методы

Метод Описание
IGATAudioThreadStreamClient ( float data, int offset, bool emptyData, IGATAudioThreadStream stream ) : void
IGATTrackContributor ( GATData trackMonoBuffer, int trackNb ) : bool

Описание методов

GATAudioThreadStreamToTrack() публичный Метод

Streaming to the specified track will not begin until Start() is called.
public GATAudioThreadStreamToTrack ( GATTrack track, IGATAudioThreadStream stream, bool exclusive ) : System.Collections
track GATTrack
stream IGATAudioThreadStream
exclusive bool
Результат System.Collections

Start() публичный Метод

Starts mixing the stream to the specified track. An exception is thrown if the track already has a contributor.
public Start ( ) : void
Результат void

Stop() публичный Метод

Stops streaming to the track, which will then be available to other contributors.
public Stop ( ) : void
Результат void