Property | Type | Description | |
---|---|---|---|
Construct_Internal | |||
Create | |||
Create | |||
Create | |||
GetData | bool | ||
Init_Internal | void | ||
InvokePCMReaderCallback_Internal | void | ||
InvokePCMSetPositionCallback_Internal | void | ||
LoadAudioData | bool | ||
SetData | bool | ||
UnloadAudioData | bool |
Method | Description | |
---|---|---|
Create ( string name, int lengthSamples, int channels, int frequency, bool stream ) : |
Creates a user AudioClip with a name and with the given length in samples, channels and frequency.
|
|
Create ( string name, int lengthSamples, int channels, int frequency, bool stream, PCMReaderCallback pcmreadercallback ) : |
||
Create ( string name, int lengthSamples, int channels, int frequency, bool stream, PCMReaderCallback pcmreadercallback, PCMSetPositionCallback pcmsetpositioncallback ) : |
Method | Description | |
---|---|---|
Construct_Internal ( ) : |
||
Create ( string name, int lengthSamples, int channels, int frequency, bool _3D, bool stream ) : |
||
Create ( string name, int lengthSamples, int channels, int frequency, bool _3D, bool stream, PCMReaderCallback pcmreadercallback ) : |
||
Create ( string name, int lengthSamples, int channels, int frequency, bool _3D, bool stream, PCMReaderCallback pcmreadercallback, PCMSetPositionCallback pcmsetpositioncallback ) : |
||
GetData ( float data, int offsetSamples ) : bool | ||
Init_Internal ( string name, int lengthSamples, int channels, int frequency, bool stream ) : void | ||
InvokePCMReaderCallback_Internal ( float data ) : void | ||
InvokePCMSetPositionCallback_Internal ( int position ) : void | ||
LoadAudioData ( ) : bool | ||
SetData ( float data, int offsetSamples ) : bool | ||
UnloadAudioData ( ) : bool |
public static Create ( string name, int lengthSamples, int channels, int frequency, bool stream ) : |
||
name | string | Name of clip. |
lengthSamples | int | Number of sample frames. |
channels | int | Number of channels per frame. |
frequency | int | Sample frequency of clip. |
stream | bool | True if clip is streamed, that is if the pcmreadercallback generates data on the fly. |
return |
public static Create ( string name, int lengthSamples, int channels, int frequency, bool stream, PCMReaderCallback pcmreadercallback ) : |
||
name | string | |
lengthSamples | int | |
channels | int | |
frequency | int | |
stream | bool | |
pcmreadercallback | PCMReaderCallback | |
return |
public static Create ( string name, int lengthSamples, int channels, int frequency, bool stream, PCMReaderCallback pcmreadercallback, PCMSetPositionCallback pcmsetpositioncallback ) : |
||
name | string | |
lengthSamples | int | |
channels | int | |
frequency | int | |
stream | bool | |
pcmreadercallback | PCMReaderCallback | |
pcmsetpositioncallback | PCMSetPositionCallback | |
return |