EncoderConfigurationFactoryCreateAudioConfiguration Method (Codec, Int32, Int32, Int32, Int32) |
Namespace: StreamCoders.EncoderAssembly: MediaBase (in MediaBase.dll) Version: 2.0.5.0 (2.0.5.0)
Syntaxpublic static AudioEncoderConfiguration CreateAudioConfiguration(
Codec codec,
int sampleFrequency,
int channels,
int bitsPerSample,
int bitrate
)
Public Shared Function CreateAudioConfiguration (
codec As Codec,
sampleFrequency As Integer,
channels As Integer,
bitsPerSample As Integer,
bitrate As Integer
) As AudioEncoderConfiguration
public:
static AudioEncoderConfiguration^ CreateAudioConfiguration(
Codec codec,
int sampleFrequency,
int channels,
int bitsPerSample,
int bitrate
)
static member CreateAudioConfiguration :
codec : Codec *
sampleFrequency : int *
channels : int *
bitsPerSample : int *
bitrate : int -> AudioEncoderConfiguration
Parameters
- codec
- Type: StreamCodersCodec
- sampleFrequency
- Type: SystemInt32
- channels
- Type: SystemInt32
- bitsPerSample
- Type: SystemInt32
- bitrate
- Type: SystemInt32
Return Value
Type:
AudioEncoderConfiguration
See Also