C# 클래스 GAudio.GATAudioThreadStreamToCache

Caches an input stream in seperate mono GATData containers.
상속: IGATAudioThreadStreamClient
파일 보기 프로젝트 열기: gregzo/G-Audio 1 사용 예제들

공개 메소드들

메소드 설명
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