Aracılığıyla paylaş


PullAudioOutputStream Class

Definition

Represents memory backed pull audio output stream used for custom audio output configurations. Updated in 1.7.0

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

Constructors

PullAudioOutputStream()

Creates a memory backed PullAudioOutputStream.

Fields

isDisposing

Indicates whether the object is currently being disposed.

(Inherited from AudioOutputStream)

Methods

Dispose()

Dispose of associated resources.

(Inherited from AudioOutputStream)
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 AudioOutputStream)
Read(Byte[])

Read audio from the stream. The maximal number of bytes to be read is determined by the size of dataBuffer. If there is no data immediately available, read() blocks until the next data becomes available.

Applies to