AudioDecoderFactoryCreateDecoder Method |
Creates a audio decoder object based on codec enumeration value.
Namespace: StreamCoders.DecoderAssembly: MediaSuite (in MediaSuite.dll) Version: 2.0.5.0 (2.0.5.0)
Syntaxpublic static IAudioDecoderBase CreateDecoder(
Codec codec
)
Public Shared Function CreateDecoder (
codec As Codec
) As IAudioDecoderBase
public:
static IAudioDecoderBase^ CreateDecoder(
Codec codec
)
static member CreateDecoder :
codec : Codec -> IAudioDecoderBase
Parameters
- codec
- Type: StreamCodersCodec
The codec to create.
Return Value
Type:
IAudioDecoderBase
Returns a newly created decoder object, otherwise null.
See Also