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
System.Object
AudioInputStream
Derived
Implements
System.IDisposable

Fields

isDisposing

Indicates whether the object is currently being disposed.

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

CreatePullStream(PullAudioInputStreamCallback, AudioStreamFormat)

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

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 System.IDisposable.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