Click or drag to resize
DecoderConfigurationFactoryCreateAudioConfiguration Method
Creates audio configuration based on TrackInfo.

Namespace: StreamCoders.Decoder
Assembly: MediaBase (in MediaBase.dll) Version: 2.0.5.0 (2.0.5.0)
Syntax
public static AudioDecoderConfiguration CreateAudioConfiguration(
	TrackInfo track
)

Parameters

track
Type: StreamCodersTrackInfo
The track.

Return Value

Type: AudioDecoderConfiguration
The new audio configuration. If the codec is unknown a CommonAudioDecoderConfiguration object will be created.
Exceptions
ExceptionCondition
InvalidOperationException Thrown when the requested operation is invalid.
See Also