Table of Contents

Class AudioInfoHandle

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

Constructors

AudioInfoHandle(bool)

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

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

public bool Equals(AudioInfoHandle? other)

Parameters

other AudioInfoHandle

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.

GetBpf()

public int GetBpf()

Returns

int

GetChannels()

public int GetChannels()

Returns

int

GetFinfo()

public IntPtr GetFinfo()

Returns

IntPtr

GetFlags()

public AudioFlags GetFlags()

Returns

AudioFlags

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

GetLayout()

public AudioLayout GetLayout()

Returns

AudioLayout

GetPosition()

public AudioChannelPosition[] GetPosition()

Returns

AudioChannelPosition[]

GetRate()

public int GetRate()

Returns

int

OwnedCopy()

public AudioInfoOwnedHandle OwnedCopy()

Returns

AudioInfoOwnedHandle

SetBpf(int)

public void SetBpf(int value)

Parameters

value int

SetChannels(int)

public void SetChannels(int value)

Parameters

value int

SetFinfo(IntPtr)

public void SetFinfo(IntPtr value)

Parameters

value IntPtr

SetFlags(AudioFlags)

public void SetFlags(AudioFlags value)

Parameters

value AudioFlags

SetLayout(AudioLayout)

public void SetLayout(AudioLayout value)

Parameters

value AudioLayout

SetPosition(AudioChannelPosition[])

public void SetPosition(AudioChannelPosition[] value)

Parameters

value AudioChannelPosition[]

SetRate(int)

public void SetRate(int value)

Parameters

value int

UnownedCopy()

public AudioInfoUnownedHandle UnownedCopy()

Returns

AudioInfoUnownedHandle