PushAudioOutputStream(PushAudioOutputStreamCallback) Constructor
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 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.