Delen via


PushAudioInputStream Constructors

Definition

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.

Applies to