AudioOutputStream.CreatePushStream(PushAudioOutputStreamCallback) 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 a PushAudioOutputStream that delegates to the specified callback interface for write() and close() methods.
public static Microsoft.CognitiveServices.Speech.Audio.PushAudioOutputStream CreatePushStream (Microsoft.CognitiveServices.Speech.Audio.PushAudioOutputStreamCallback callback);
static member CreatePushStream : Microsoft.CognitiveServices.Speech.Audio.PushAudioOutputStreamCallback -> Microsoft.CognitiveServices.Speech.Audio.PushAudioOutputStream
Public Shared Function CreatePushStream (callback As PushAudioOutputStreamCallback) As PushAudioOutputStream
Parameters
- callback
- PushAudioOutputStreamCallback
The custom audio output object, derived from PushAudioOutputStreamCallback
Returns
The push audio output stream being created.
Remarks
See also: Recognize from in-memory stream
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.