Table of Contents

Class AudioBufferHandle

Namespace
GstAudio.Internal
Assembly
GstAudio-1.0.dll
public abstract class AudioBufferHandle : SafeHandle, IDisposable
Inheritance
AudioBufferHandle
Implements
Derived
Inherited Members

Constructors

AudioBufferHandle(bool)

protected AudioBufferHandle(bool ownsHandle)

Parameters

ownsHandle bool

Properties

IsInvalid

When overridden in a derived class, gets a value indicating whether the handle value is invalid.

public override sealed bool IsInvalid { get; }

Property Value

bool

true if the handle value is invalid; otherwise, false.

Methods

Equals(AudioBufferHandle?)

public bool Equals(AudioBufferHandle? other)

Parameters

other AudioBufferHandle

Returns

bool

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetBuffer()

public IntPtr GetBuffer()

Returns

IntPtr

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

GetInfo()

public AudioInfoData GetInfo()

Returns

AudioInfoData

GetNPlanes()

public int GetNPlanes()

Returns

int

GetNSamples()

public nuint GetNSamples()

Returns

nuint

GetPlanes()

public IntPtr GetPlanes()

Returns

IntPtr

SetBuffer(IntPtr)

public void SetBuffer(IntPtr value)

Parameters

value IntPtr

SetInfo(AudioInfoData)

public void SetInfo(AudioInfoData value)

Parameters

value AudioInfoData

SetNPlanes(int)

public void SetNPlanes(int value)

Parameters

value int

SetNSamples(nuint)

public void SetNSamples(nuint value)

Parameters

value nuint

SetPlanes(IntPtr)

public void SetPlanes(IntPtr value)

Parameters

value IntPtr