Table of Contents

Class AudioConverter

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

Constructors

AudioConverter(AudioConverterOwnedHandle)

public AudioConverter(AudioConverterOwnedHandle handle)

Parameters

handle AudioConverterOwnedHandle

Properties

Handle

public AudioConverterOwnedHandle Handle { get; }

Property Value

AudioConverterOwnedHandle

Methods

Equals(AudioConverter?)

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

public bool Equals(AudioConverter? other)

Parameters

other AudioConverter

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

GetConfig(out int, out int)

public Structure GetConfig(out int inRate, out int outRate)

Parameters

inRate int
outRate int

Returns

Structure

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.

GetInFrames(nuint)

public nuint GetInFrames(nuint outFrames)

Parameters

outFrames nuint

Returns

nuint

GetMaxLatency()

public nuint GetMaxLatency()

Returns

nuint

GetOutFrames(nuint)

public nuint GetOutFrames(nuint inFrames)

Parameters

inFrames nuint

Returns

nuint

IsPassthrough()

[Version("1.16")]
public bool IsPassthrough()

Returns

bool

New(AudioConverterFlags, AudioInfo, AudioInfo, Structure?)

public static AudioConverter? New(AudioConverterFlags flags, AudioInfo inInfo, AudioInfo outInfo, Structure? config)

Parameters

flags AudioConverterFlags
inInfo AudioInfo
outInfo AudioInfo
config Structure

Returns

AudioConverter

Reset()

public void Reset()

Samples(AudioConverterFlags, IntPtr, nuint, IntPtr, nuint)

public bool Samples(AudioConverterFlags flags, IntPtr @in, nuint inFrames, IntPtr @out, nuint outFrames)

Parameters

flags AudioConverterFlags
in IntPtr
inFrames nuint
out IntPtr
outFrames nuint

Returns

bool

SupportsInplace()

[Version("1.12")]
public bool SupportsInplace()

Returns

bool

UpdateConfig(int, int, Structure?)

public bool UpdateConfig(int inRate, int outRate, Structure? config)

Parameters

inRate int
outRate int
config Structure

Returns

bool