AudioStreamFormat.GetCompressedFormat(AudioStreamContainerFormat) Method

Definition

Creates an audio stream format object that specifies which compressed audio container format the input uses. Added in 1.4.0

public static Microsoft.CognitiveServices.Speech.Audio.AudioStreamFormat GetCompressedFormat (Microsoft.CognitiveServices.Speech.Audio.AudioStreamContainerFormat compressedFormat);
static member GetCompressedFormat : Microsoft.CognitiveServices.Speech.Audio.AudioStreamContainerFormat -> Microsoft.CognitiveServices.Speech.Audio.AudioStreamFormat
Public Shared Function GetCompressedFormat (compressedFormat As AudioStreamContainerFormat) As AudioStreamFormat

Parameters

compressedFormat
AudioStreamContainerFormat

Formats are defined in AudioStreamContainerFormat enum

Returns

The audio stream format being created.

Remarks

See also: Example code using codec compressed audio input

Applies to