Share via


AudioInputStream Class

Definition

Represents audio input stream used for custom audio input configurations.

public class AudioInputStream : IDisposable
type AudioInputStream = class
    interface IDisposable
Public Class AudioInputStream
Implements IDisposable
Inheritance
AudioInputStream
Derived
Implements

Fields

isDisposing

Indicates whether the object is currently being disposed.

Methods

CreatePullStream(PullAudioInputStreamCallback, AudioStreamFormat)

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

CreatePullStream(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).

CreatePushStream()

Creates a memory backed PushAudioInputStream using the default format (16 kHz, 16 bit, mono PCM).

CreatePushStream(AudioStreamFormat)

Creates a memory backed PushAudioInputStream with the specified audio format.

Dispose()

Dispose of associated resources.

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.

Applies to