共用方式為


AudioConfig.FromStreamOutput Method

Definition

Overloads

FromStreamOutput(AudioOutputStream)

Creates an AudioConfig object representing the specified stream. Added in 1.4.0

FromStreamOutput(PushAudioOutputStreamCallback)

Creates an AudioConfig object representing the specified stream. Added in 1.4.0

FromStreamOutput(AudioOutputStream)

Creates an AudioConfig object representing the specified stream. Added in 1.4.0

public static Microsoft.CognitiveServices.Speech.Audio.AudioConfig FromStreamOutput (Microsoft.CognitiveServices.Speech.Audio.AudioOutputStream audioStream);
static member FromStreamOutput : Microsoft.CognitiveServices.Speech.Audio.AudioOutputStream -> Microsoft.CognitiveServices.Speech.Audio.AudioConfig
Public Shared Function FromStreamOutput (audioStream As AudioOutputStream) As AudioConfig

Parameters

audioStream
AudioOutputStream

Specifies the custom audio output stream.

Returns

An audio output configuration object.

Applies to

FromStreamOutput(PushAudioOutputStreamCallback)

Creates an AudioConfig object representing the specified stream. Added in 1.4.0

public static Microsoft.CognitiveServices.Speech.Audio.AudioConfig FromStreamOutput (Microsoft.CognitiveServices.Speech.Audio.PushAudioOutputStreamCallback callback);
static member FromStreamOutput : Microsoft.CognitiveServices.Speech.Audio.PushAudioOutputStreamCallback -> Microsoft.CognitiveServices.Speech.Audio.AudioConfig
Public Shared Function FromStreamOutput (callback As PushAudioOutputStreamCallback) As AudioConfig

Parameters

callback
PushAudioOutputStreamCallback

Specifies the push audio output stream callback.

Returns

An audio output configuration object.

Applies to