Method | Description | |
---|---|---|
Free ( ) : void |
Frees all resources used by the recording device.
|
|
GetDeviceInfomation ( int device ) : |
Get information on a recording device.
|
|
GetInfomation ( ) : |
Get information on the recording device being used.
|
|
GetInput ( int input, float &volume ) : RecordInputType |
Get the current settings of a recording input source.
|
|
GetInputName ( int input ) : String |
Get the text description of a recording input source.
|
|
Initialize ( int device ) : void |
Initializes a recording device.
|
|
SetInput ( int input, float volume, RecordInputStatus staus ) : void |
Adjusts the settings of a recording input source.
|
|
Start ( uint freq, uint channels, RecordInitializationConfig configs, ushort period ) : |
Starts recording.
|
public static GetDeviceInfomation ( int device ) : |
||
device | int | The device to get the information of... 0 = first. |
return |
public static GetInfomation ( ) : |
||
return |
public static GetInput ( int input, float &volume ) : RecordInputType | ||
input | int | The input to get the settings of... 0 = first, -1 = master. |
volume | float | Get volume, 0 = don't retrieve the volume. |
return | RecordInputType |
public static GetInputName ( int input ) : String | ||
input | int | The input to get the description of... 0 = first, -1 = master. |
return | String |
public static Initialize ( int device ) : void | ||
device | int |
/// The device to use... -1 = default device, 0 = first. |
return | void |
public static SetInput ( int input, float volume, RecordInputStatus staus ) : void | ||
input | int | The input to adjust the settings of... 0 = first, -1 = master. |
volume | float | The volume level... 0 (silent) to 1 (max), less than 0 = leave current. |
staus | RecordInputStatus | The new setting. |
return | void |
public static Start ( uint freq, uint channels, RecordInitializationConfig configs, ushort period ) : |
||
freq | uint | The sample rate to record at. |
channels | uint | The number of channels... 1 = mono, 2 = stereo, etc. |
configs | RecordInitializationConfig | Configures of recording. |
period | ushort | /// The period (in milliseconds) between calls to the callback function. The minimum period is 5ms, /// the maximum is half the BASS_CONFIG_REC_BUFFER setting. If the period specified is outside this range, it is /// automatically capped. The default is 100ms. /// |
return |