AudioPlayerGetDevices Method |
Get all the output devices that installed on the local system.
Namespace:
CSAudioPlayer
Assembly:
CSAudioPlayer (in CSAudioPlayer.dll) Version: 1.0.1.0 (1.0.1.0)
Syntax public ObservableCollection<string> GetDevices(
Mode mode = Mode.WasapiOut
)
Public Function GetDevices (
Optional mode As Mode = Mode.WasapiOut
) As ObservableCollection(Of String)
Dim instance As AudioPlayer
Dim mode As Mode
Dim returnValue As ObservableCollection(Of String)
returnValue = instance.GetDevices(mode)
member GetDevices :
?mode : Mode
(* Defaults:
let _mode = defaultArg mode Mode.WasapiOut
*)
-> ObservableCollection<string>
public ObservableCollection<String> GetDevices(
Mode mode = Mode.WasapiOut
)
public function GetDevices(
mode : Mode
) : ObservableCollection<String>
function GetDevices(mode);
Parameters
- mode (Optional)
- Type: CSAudioPlayerMode
Return Value
Type:
ObservableCollectionStringSee Also