AudioVisualizationGetDeviceDefaultIndex Method |
Get the default input device index. This works when the mode of the recorder is on WASAPI.
Namespace:
CSAudioVisualization
Assembly:
CSAudioVisualization (in CSAudioVisualization.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 AudioVisualization
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: CSAudioVisualizationMode
Return Value
Type:
Int32See Also