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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET