cAudioCDPlayerPlay Method |
Namespace:
CSAudioCDPlayer
Assembly:
CSAudioCDPlayer (in CSAudioCDPlayer.dll) Version: 1.0.1.0 (1.0.1.0)
Syntax void Play(
string FileName,
int DeviceIndex,
DecodeMode DecodeMode = DecodeMode.LocalCodecs,
int Samplerate = 0,
short Bits = 0,
short Channels = 0
)
Sub Play (
FileName As String,
DeviceIndex As Integer,
Optional DecodeMode As DecodeMode = DecodeMode.LocalCodecs,
Optional Samplerate As Integer = 0,
Optional Bits As Short = 0,
Optional Channels As Short = 0
)
Dim instance As cAudioCDPlayer
Dim FileName As String
Dim DeviceIndex As Integer
Dim DecodeMode As DecodeMode
Dim Samplerate As Integer
Dim Bits As Short
Dim Channels As Short
instance.Play(FileName, DeviceIndex, DecodeMode,
Samplerate, Bits, Channels)
abstract Play :
FileName : string *
DeviceIndex : int *
?DecodeMode : DecodeMode *
?Samplerate : int *
?Bits : int16 *
?Channels : int16
(* Defaults:
let _DecodeMode = defaultArg DecodeMode DecodeMode.LocalCodecs
let _Samplerate = defaultArg Samplerate 0
let _Bits = defaultArg Bits 0
let _Channels = defaultArg Channels 0
*)
-> unit
void Play(
String FileName,
int DeviceIndex,
DecodeMode DecodeMode = DecodeMode.LocalCodecs,
int Samplerate = 0,
short Bits = 0,
short Channels = 0
)
function Play(
FileName : String,
DeviceIndex : int,
DecodeMode : DecodeMode,
Samplerate : int,
Bits : short,
Channels : short
)
function Play(FileName, DeviceIndex, DecodeMode, Samplerate, Bits, Channels);
Parameters
- FileName
- Type: SystemString
- DeviceIndex
- Type: SystemInt32
- DecodeMode (Optional)
- Type: CSAudioCDPlayerDecodeMode
- Samplerate (Optional)
- Type: SystemInt32
- Bits (Optional)
- Type: SystemInt16
- Channels (Optional)
- Type: SystemInt16
See Also