AudioStreamFormat.GetCompressedFormat(AudioStreamContainerFormat) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET