AudioRecorderGetDeviceDefaultIndex Method |
Get the default input device index. This works when the mode of the recorder is on WASAPI.
Namespace:
CSAudioRecorder
Assembly:
CSAudioRecorder (in CSAudioRecorder.dll) Version: 1.0.1.0 (1.0.1.0)
Syntax public int GetDeviceDefaultIndex(
Mode mode = Mode.WasapiLoopbackCapture
)
Public Function GetDeviceDefaultIndex (
Optional mode As Mode = Mode.WasapiLoopbackCapture
) As Integer
Dim instance As AudioRecorder
Dim mode As Mode
Dim returnValue As Integer
returnValue = instance.GetDeviceDefaultIndex(mode)
member GetDeviceDefaultIndex :
?mode : Mode
(* Defaults:
let _mode = defaultArg mode Mode.WasapiLoopbackCapture
*)
-> int
public int GetDeviceDefaultIndex(
Mode mode = Mode.WasapiLoopbackCapture
)
public function GetDeviceDefaultIndex(
mode : Mode
) : int
function GetDeviceDefaultIndex(mode);
Parameters
- mode (Optional)
- Type: CSAudioRecorderMode
Return Value
Type:
Int32See Also