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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET