PushAudioInputStream Constructors
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
PushAudioInputStream() |
Creates a memory backed PushAudioInputStream using the default format (16 kHz, 16 bit, mono PCM). |
PushAudioInputStream(AudioStreamFormat) |
Creates a memory backed PushAudioInputStream with the specified audio format. |
PushAudioInputStream()
Creates a memory backed PushAudioInputStream using the default format (16 kHz, 16 bit, mono PCM).
public PushAudioInputStream ();
Public Sub New ()
Applies to
PushAudioInputStream(AudioStreamFormat)
Creates a memory backed PushAudioInputStream with the specified audio format.
public PushAudioInputStream (Microsoft.CognitiveServices.Speech.Audio.AudioStreamFormat format);
new Microsoft.CognitiveServices.Speech.Audio.PushAudioInputStream : Microsoft.CognitiveServices.Speech.Audio.AudioStreamFormat -> Microsoft.CognitiveServices.Speech.Audio.PushAudioInputStream
Public Sub New (format As AudioStreamFormat)
Parameters
- format
- AudioStreamFormat
The data format of the audio written to the push audio stream's write() method.