AudioConfig.FromStreamOutput 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.
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
Azure SDK for .NET