Table of Contents

Class AudioFormatInfoHandle

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

Constructors

AudioFormatInfoHandle(bool)

protected AudioFormatInfoHandle(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(AudioFormatInfoHandle?)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(AudioFormatInfoHandle? other)

Parameters

other AudioFormatInfoHandle

An object to compare with this object.

Returns

bool

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

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.

GetDepth()

public int GetDepth()

Returns

int

GetDescription()

public nint GetDescription()

Returns

nint

GetEndianness()

public int GetEndianness()

Returns

int

GetFlags()

public AudioFormatFlags GetFlags()

Returns

AudioFormatFlags

GetFormat()

public AudioFormat GetFormat()

Returns

AudioFormat

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

GetName()

public nint GetName()

Returns

nint

GetPackFunc()

public AudioFormatPack GetPackFunc()

Returns

AudioFormatPack

GetSilence()

public byte[] GetSilence()

Returns

byte[]

GetUnpackFormat()

public AudioFormat GetUnpackFormat()

Returns

AudioFormat

GetUnpackFunc()

public AudioFormatUnpack GetUnpackFunc()

Returns

AudioFormatUnpack

GetWidth()

public int GetWidth()

Returns

int

OwnedCopy()

public AudioFormatInfoOwnedHandle OwnedCopy()

Returns

AudioFormatInfoOwnedHandle

SetDepth(int)

public void SetDepth(int value)

Parameters

value int

SetDescription(nint)

public void SetDescription(nint value)

Parameters

value nint

SetEndianness(int)

public void SetEndianness(int value)

Parameters

value int

SetFlags(AudioFormatFlags)

public void SetFlags(AudioFormatFlags value)

Parameters

value AudioFormatFlags

SetFormat(AudioFormat)

public void SetFormat(AudioFormat value)

Parameters

value AudioFormat

SetName(nint)

public void SetName(nint value)

Parameters

value nint

SetPackFunc(AudioFormatPack)

public void SetPackFunc(AudioFormatPack value)

Parameters

value AudioFormatPack

SetSilence(byte[])

public void SetSilence(byte[] value)

Parameters

value byte[]

SetUnpackFormat(AudioFormat)

public void SetUnpackFormat(AudioFormat value)

Parameters

value AudioFormat

SetUnpackFunc(AudioFormatUnpack)

public void SetUnpackFunc(AudioFormatUnpack value)

Parameters

value AudioFormatUnpack

SetWidth(int)

public void SetWidth(int value)

Parameters

value int

UnownedCopy()

public AudioFormatInfoUnownedHandle UnownedCopy()

Returns

AudioFormatInfoUnownedHandle