C# Класс GAudio.GATAudioThreadStreamToCache

Caches an input stream in seperate mono GATData containers.
Наследование: IGATAudioThreadStreamClient
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
GATAudioThreadStreamToCache ( IGATAudioThreadStream stream, GATData caches, AtEndHandler handler = null ) : System.Collections

Initializes a new instance of the GATAudioThreadStreamToCache class.

ReleaseCache ( ) : void

Releases the cache objects.

Start ( double targetDspTime = 0d, AtEndHandler handler = null ) : void

Start caching the stream.

Stop ( ) : void

Stop caching immediately.

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

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

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

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

Initializes a new instance of the GATAudioThreadStreamToCache class.
public GATAudioThreadStreamToCache ( IGATAudioThreadStream stream, GATData caches, AtEndHandler handler = null ) : System.Collections
stream IGATAudioThreadStream The observed multichannel or mono stream.
caches GATData The caches to record to, one per channel must be provided.
handler AtEndHandler Optional callback fired when the cache is full.
Результат System.Collections

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

Releases the cache objects.
public ReleaseCache ( ) : void
Результат void

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

Start caching the stream.
public Start ( double targetDspTime = 0d, AtEndHandler handler = null ) : void
targetDspTime double The dsp time at which caching should start. Pass 0 to start as soon as possible.
handler AtEndHandler Optional callback fired when the cache is full.
Результат void

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

Stop caching immediately.
public Stop ( ) : void
Результат void