AudioCDPlayerGetDeviceDefaultIndex Method |
Get the default output device index. This works when the mode is WASAPI, LineOut will return always 0.
Namespace:
CSAudioCDPlayer
Assembly:
CSAudioCDPlayer (in CSAudioCDPlayer.dll) Version: 1.0.1.0 (1.0.1.0)
Syntax public int GetDeviceDefaultIndex(
Mode mode = Mode.WasapiOut
)
Public Function GetDeviceDefaultIndex (
Optional mode As Mode = Mode.WasapiOut
) As Integer
Dim instance As AudioCDPlayer
Dim mode As Mode
Dim returnValue As Integer
returnValue = instance.GetDeviceDefaultIndex(mode)
member GetDeviceDefaultIndex :
?mode : Mode
(* Defaults:
let _mode = defaultArg mode Mode.WasapiOut
*)
-> int
public int GetDeviceDefaultIndex(
Mode mode = Mode.WasapiOut
)
public function GetDeviceDefaultIndex(
mode : Mode
) : int
function GetDeviceDefaultIndex(mode);
Parameters
- mode (Optional)
- Type: CSAudioCDPlayerMode
Return Value
Type:
Int32See Also