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
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.