Table of Contents

Class AudioFormatInfoHandle

Namespace
GstAudio.Internal
Assembly
GstAudio-1.0.dll
public abstract class AudioFormatInfoHandle : SafeHandle, IDisposable
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?)

public bool Equals(AudioFormatInfoHandle? other)

Parameters

other AudioFormatInfoHandle

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.

GetDepth()

public int GetDepth()

Returns

int

GetDescription()

public IntPtr GetDescription()

Returns

IntPtr

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 IntPtr GetName()

Returns

IntPtr

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

SetDepth(int)

public void SetDepth(int value)

Parameters

value int

SetDescription(IntPtr)

public void SetDescription(IntPtr value)

Parameters

value IntPtr

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(IntPtr)

public void SetName(IntPtr value)

Parameters

value IntPtr

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