Table of Contents

Class AudioDecoder

Namespace
GstAudio
Assembly
GstAudio-1.0.dll
public class AudioDecoder : Element, IObject, INotifyPropertyChanged, IDisposable, IHandle, GTypeProvider
Inheritance
AudioDecoder
Implements
Inherited Members

Constructors

AudioDecoder()

public AudioDecoder()

AudioDecoder(params ConstructArgument[])

protected AudioDecoder(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

AudioDecoder(IntPtr, bool)

protected AudioDecoder(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Fields

MaxErrorsPropertyDefinition

public static readonly Property<int, AudioDecoder> MaxErrorsPropertyDefinition

Field Value

Property<int, AudioDecoder>

MinLatencyPropertyDefinition

public static readonly Property<long, AudioDecoder> MinLatencyPropertyDefinition

Field Value

Property<long, AudioDecoder>

PlcPropertyDefinition

public static readonly Property<bool, AudioDecoder> PlcPropertyDefinition

Field Value

Property<bool, AudioDecoder>

TolerancePropertyDefinition

public static readonly Property<long, AudioDecoder> TolerancePropertyDefinition

Field Value

Property<long, AudioDecoder>

Properties

MaxErrors

public int MaxErrors { get; set; }

Property Value

int

MinLatency

public long MinLatency { get; set; }

Property Value

long

Plc

public bool Plc { get; set; }

Property Value

bool

Tolerance

public long Tolerance { get; set; }

Property Value

long

Methods

AllocateOutputBuffer(nuint)

public Buffer AllocateOutputBuffer(nuint size)

Parameters

size nuint

Returns

Buffer

FinishFrame(Buffer?, int)

public FlowReturn FinishFrame(Buffer? buf, int frames)

Parameters

buf Buffer
frames int

Returns

FlowReturn

FinishSubframe(Buffer?)

[Version("1.16")]
public FlowReturn FinishSubframe(Buffer? buf)

Parameters

buf Buffer

Returns

FlowReturn

GetAudioInfo()

public AudioInfo GetAudioInfo()

Returns

AudioInfo

GetDelay()

public int GetDelay()

Returns

int

GetDrainable()

public bool GetDrainable()

Returns

bool

GetEstimateRate()

public int GetEstimateRate()

Returns

int

GetGType()

public static Type GetGType()

Returns

Type

GetLatency(out ClockTime, out ClockTime)

public void GetLatency(out ClockTime min, out ClockTime max)

Parameters

min ClockTime
max ClockTime

GetMaxErrors()

public int GetMaxErrors()

Returns

int

GetMinLatency()

public ClockTime GetMinLatency()

Returns

ClockTime

GetNeedsFormat()

public bool GetNeedsFormat()

Returns

bool

GetParseState(out bool, out bool)

public void GetParseState(out bool sync, out bool eos)

Parameters

sync bool
eos bool

GetPlc()

public bool GetPlc()

Returns

bool

GetPlcAware()

public int GetPlcAware()

Returns

int

GetTolerance()

public ClockTime GetTolerance()

Returns

ClockTime

MergeTags(TagList?, TagMergeMode)

public void MergeTags(TagList? tags, TagMergeMode mode)

Parameters

tags TagList
mode TagMergeMode

Negotiate()

public bool Negotiate()

Returns

bool

ProxyGetcaps(Caps?, Caps?)

[Version("1.6")]
public Caps ProxyGetcaps(Caps? caps, Caps? filter)

Parameters

caps Caps
filter Caps

Returns

Caps

SetAllocationCaps(Caps?)

[Version("1.10")]
public void SetAllocationCaps(Caps? allocationCaps)

Parameters

allocationCaps Caps

SetDrainable(bool)

public void SetDrainable(bool enabled)

Parameters

enabled bool

SetEstimateRate(bool)

public void SetEstimateRate(bool enabled)

Parameters

enabled bool

SetLatency(ClockTime, ClockTime)

public void SetLatency(ClockTime min, ClockTime max)

Parameters

min ClockTime
max ClockTime

SetMaxErrors(int)

public void SetMaxErrors(int num)

Parameters

num int

SetMinLatency(ClockTime)

public void SetMinLatency(ClockTime num)

Parameters

num ClockTime

SetNeedsFormat(bool)

public void SetNeedsFormat(bool enabled)

Parameters

enabled bool

SetOutputCaps(Caps)

[Version("1.16")]
public bool SetOutputCaps(Caps caps)

Parameters

caps Caps

Returns

bool

SetOutputFormat(AudioInfo)

public bool SetOutputFormat(AudioInfo info)

Parameters

info AudioInfo

Returns

bool

SetPlc(bool)

public void SetPlc(bool enabled)

Parameters

enabled bool

SetPlcAware(bool)

public void SetPlcAware(bool plc)

Parameters

plc bool

SetTolerance(ClockTime)

public void SetTolerance(ClockTime tolerance)

Parameters

tolerance ClockTime

SetUseDefaultPadAcceptcaps(bool)

[Version("1.6")]
public void SetUseDefaultPadAcceptcaps(bool use)

Parameters

use bool