ScreenRecorderGetDeviceDefaultIndex Method |
Get the default input device index. This works when the mode of the recorder is on WASAPI.
Namespace:
CSScreenRecorder
Assembly:
CSScreenRecorder (in CSScreenRecorder.dll) Version: 1.0.4.0 (1.0.4.0)
Syntaxpublic int GetDeviceDefaultIndex(
Mode mode = Mode.WasapiLoopbackCapture
)
Public Function GetDeviceDefaultIndex (
Optional mode As Mode = Mode.WasapiLoopbackCapture
) As Integer
Dim instance As ScreenRecorder
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:
Int32
See Also