Condividi tramite


PullAudioInputStream Class

Definition

Represents audio input stream used for custom audio input configurations.

public sealed class PullAudioInputStream : Microsoft.CognitiveServices.Speech.Audio.AudioInputStream
type PullAudioInputStream = class
    inherit AudioInputStream
Public NotInheritable Class PullAudioInputStream
Inherits AudioInputStream
Inheritance
PullAudioInputStream

Remarks

See also: About the Speech SDK audio input stream API

Constructors

PullAudioInputStream(PullAudioInputStreamCallback, AudioStreamFormat)

Creates a PullAudioInputStream that delegates to the specified callback interface for read() and close() methods.

PullAudioInputStream(PullAudioInputStreamCallback)

Creates a PullAudioInputStream that delegates to the specified callback interface for read() and close() methods using the default format (16 kHz, 16 bit, mono PCM).

Fields

isDisposing

Indicates whether the object is currently being disposed.

(Inherited from AudioInputStream)

Methods

Dispose()

Dispose of associated resources.

(Inherited from AudioInputStream)
Dispose(Boolean)

This method performs cleanup of resources. The Boolean parameter disposing indicates whether the method is called from Dispose() (if disposing is true) or from the finalizer (if disposing is false). Derived classes should override this method to dispose resource if needed.

(Inherited from AudioInputStream)

Applies to