Property | Type | Description | |
---|---|---|---|
path | string | ||
pathType | PathRelativeType |
Method | Description | |
---|---|---|
EndWriting ( ) : void |
Stops writing and finalizes the file's header. As this occurs on a seperate thread, you should not assume that the file is ready to be opened immediately.
|
|
IGATAudioThreadStreamClient ( float data, int offset, bool emptyData, IGATAudioThreadStream stream ) : void | ||
OnDestroy ( ) : void | ||
OnDisable ( ) : void | ||
SetPath ( string newPath, PathRelativeType newPathType ) : string |
Sets the path to which to write to. If the path contains a non-existent directory, it will be created.
|
|
StartWriting ( double targetDspTime = 0d, int recNumFrames = -1 ) : void |
Starts writing the stream at precise dspTime if one is specified. If no dspTime is specified, or if the specified dspTime is too soon, starts writing asap. If recNumFrames is specified, writing will automatically stop once the precise number of frames has been written, else you should call EndWriting.
|
Method | Description | |
---|---|---|
Start ( ) : void |
public IGATAudioThreadStreamClient ( float data, int offset, bool emptyData, IGATAudioThreadStream stream ) : void | ||
data | float | |
offset | int | |
emptyData | bool | |
stream | IGATAudioThreadStream | |
return | void |
public SetPath ( string newPath, PathRelativeType newPathType ) : string | ||
newPath | string | |
newPathType | PathRelativeType | |
return | string |
public StartWriting ( double targetDspTime = 0d, int recNumFrames = -1 ) : void | ||
targetDspTime | double | |
recNumFrames | int | |
return | void |