Method | Description | |
---|---|---|
GATAudioThreadStreamToCache ( IGATAudioThreadStream stream, |
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.
|
Method | Description | |
---|---|---|
IGATAudioThreadStreamClient ( float data, int offset, bool emptyData, IGATAudioThreadStream stream ) : void |
public GATAudioThreadStreamToCache ( IGATAudioThreadStream stream, |
||
stream | IGATAudioThreadStream | The observed multichannel or mono stream. |
caches | The caches to record to, one per channel must be provided. | |
handler | AtEndHandler | Optional callback fired when the cache is full. |
return | System.Collections |
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. |
return | void |