Initializes a new instance of the
AVPlayer class
The stream will not be cached and will be played only once.
Namespace: Ozeki.MediaAssembly: OzekiSDK (in OzekiSDK.dll) Version: 10.4.54.0
Syntaxpublic AVPlayer(
string filePath,
List<AudioFormat> formats = null,
AudioConverterType DesiredConverter = AudioConverterType.DMO
)
Public Sub New (
filePath As String,
Optional formats As List(Of AudioFormat) = Nothing,
Optional DesiredConverter As AudioConverterType = AudioConverterType.DMO
)
public:
AVPlayer(
String^ filePath,
List<AudioFormat^>^ formats = nullptr,
AudioConverterType DesiredConverter = AudioConverterType::DMO
)
new :
filePath : string *
?formats : List<AudioFormat> *
?DesiredConverter : AudioConverterType
(* Defaults:
let _formats = defaultArg formats null
let _DesiredConverter = defaultArg DesiredConverter AudioConverterType.DMO
*)
-> AVPlayer
Parameters
- filePath String
- The path of the playback audio file
- formats ListAudioFormat (Optional)
-
- DesiredConverter AudioConverterType (Optional)
-
See Also