共用方式為


PushAudioOutputStream(PushAudioOutputStreamCallback) Constructor

Definition

Creates a PushAudioOutputStream that delegates to the specified callback interface for write() and close() methods.

public PushAudioOutputStream (Microsoft.CognitiveServices.Speech.Audio.PushAudioOutputStreamCallback callback);
new Microsoft.CognitiveServices.Speech.Audio.PushAudioOutputStream : Microsoft.CognitiveServices.Speech.Audio.PushAudioOutputStreamCallback -> Microsoft.CognitiveServices.Speech.Audio.PushAudioOutputStream
Public Sub New (callback As PushAudioOutputStreamCallback)

Parameters

callback
PushAudioOutputStreamCallback

The custom audio output object, derived from PushAudioOutputStreamCallback.

Applies to