Class AudioDecoder
- Namespace
- GstAudio
- Assembly
- GstAudio-1.0.dll
public class AudioDecoder : Element, IDisposable, GTypeProvider, InstanceFactory
- Inheritance
-
AudioDecoder
- Implements
-
- Inherited Members
-
Constructors
AudioDecoder(params ConstructArgument[])
public AudioDecoder(params ConstructArgument[] constructArguments)
Parameters
constructArguments
ConstructArgument[]
AudioDecoder(AudioDecoderHandle)
public AudioDecoder(AudioDecoderHandle handle)
Parameters
handle
AudioDecoderHandle
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()
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
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()
Returns
- bool
GetPlcAware()
Returns
- int
GetTolerance()
public ClockTime GetTolerance()
Returns
- ClockTime
public void MergeTags(TagList? tags, TagMergeMode mode)
Parameters
tags
TagList
mode
TagMergeMode
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
public void SetNeedsFormat(bool enabled)
Parameters
enabled
bool
SetOutputCaps(Caps)
[Version("1.16")]
public bool SetOutputCaps(Caps caps)
Parameters
caps
Caps
Returns
- bool
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