共用方式為


AudioDataStream.FromWavFileInput(String) Method

Definition

Creates a memory-backed audio data stream using the specified audio file.

public static Microsoft.CognitiveServices.Speech.AudioDataStream FromWavFileInput (string fileName);
static member FromWavFileInput : string -> Microsoft.CognitiveServices.Speech.AudioDataStream
Public Shared Function FromWavFileInput (fileName As String) As AudioDataStream

Parameters

fileName
String

Specifies the audio input file.

Returns

An audio data stream based on the audio file.

Applies to