Table of Contents

Class AudioInfo

Namespace
GstAudio
Assembly
GstAudio-1.0.dll
public sealed class AudioInfo : BoxedRecord, IEquatable<AudioInfo>
Inheritance
AudioInfo
Implements
Inherited Members

Constructors

AudioInfo()

public AudioInfo()

AudioInfo(AudioInfoOwnedHandle)

public AudioInfo(AudioInfoOwnedHandle handle)

Parameters

handle AudioInfoOwnedHandle

Properties

Bpf

public int Bpf { get; set; }

Property Value

int

Channels

public int Channels { get; set; }

Property Value

int

Flags

public AudioFlags Flags { get; set; }

Property Value

AudioFlags

Handle

public AudioInfoOwnedHandle Handle { get; }

Property Value

AudioInfoOwnedHandle

Layout

public AudioLayout Layout { get; set; }

Property Value

AudioLayout

Rate

public int Rate { get; set; }

Property Value

int

Methods

Convert(Format, long, Format, out long)

public bool Convert(Format srcFmt, long srcVal, Format destFmt, out long destVal)

Parameters

srcFmt Format
srcVal long
destFmt Format
destVal long

Returns

bool

Copy()

public AudioInfo Copy()

Returns

AudioInfo

Equals(AudioInfo?)

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

public bool Equals(AudioInfo? other)

Parameters

other AudioInfo

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.

Free()

public void Free()

GetGType()

public static Type GetGType()

Returns

Type

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

IsEqual(AudioInfo)

[Version("1.2")]
public bool IsEqual(AudioInfo other)

Parameters

other AudioInfo

Returns

bool

New()

public static AudioInfo New()

Returns

AudioInfo

NewFromCaps(Caps)

[Version("1.20")]
public static AudioInfo? NewFromCaps(Caps caps)

Parameters

caps Caps

Returns

AudioInfo

ToCaps()

public Caps ToCaps()

Returns

Caps