Class AudioBaseSink
- Namespace
- GstAudio
- Assembly
- GstAudio-1.0.dll
public class AudioBaseSink : BaseSink, IDisposable, NativeObject, GTypeProvider, InstanceFactory
- Inheritance
-
AudioBaseSink
- Implements
- Derived
- Inherited Members
Constructors
AudioBaseSink(params ConstructArgument[])
[Obsolete("Regular C# constructors on native classes will be removed in a future version. Please see the linked documentation for more details. It contains scenarios and possible solutions to prepare for the upcoming changes.", DiagnosticId = "GirCore1007", UrlFormat = "https://gircore.github.io/docs/integration/diagnostic/1007.html")]
public AudioBaseSink(params ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]
AudioBaseSink(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected AudioBaseSink(CreationData data)
Parameters
dataCreationData
AudioBaseSink(AudioBaseSinkHandle)
protected AudioBaseSink(AudioBaseSinkHandle handle)
Parameters
handleAudioBaseSinkHandle
Fields
AlignmentThresholdPropertyDefinition
public static readonly Property<ulong, AudioBaseSink> AlignmentThresholdPropertyDefinition
Field Value
BufferTimePropertyDefinition
public static readonly Property<long, AudioBaseSink> BufferTimePropertyDefinition
Field Value
CanActivatePullPropertyDefinition
public static readonly Property<bool, AudioBaseSink> CanActivatePullPropertyDefinition
Field Value
DiscontWaitPropertyDefinition
public static readonly Property<ulong, AudioBaseSink> DiscontWaitPropertyDefinition
Field Value
DriftTolerancePropertyDefinition
public static readonly Property<long, AudioBaseSink> DriftTolerancePropertyDefinition
Field Value
LatencyTimePropertyDefinition
public static readonly Property<long, AudioBaseSink> LatencyTimePropertyDefinition
Field Value
ProvideClockPropertyDefinition
public static readonly Property<bool, AudioBaseSink> ProvideClockPropertyDefinition
Field Value
SlaveMethodPropertyDefinition
public static readonly Property<AudioBaseSinkSlaveMethod, AudioBaseSink> SlaveMethodPropertyDefinition
Field Value
Properties
AlignmentThreshold
public ulong AlignmentThreshold { get; set; }
Property Value
BufferTime
public long BufferTime { get; set; }
Property Value
CanActivatePull
public bool CanActivatePull { get; set; }
Property Value
DiscontWait
public ulong DiscontWait { get; set; }
Property Value
DriftTolerance
public long DriftTolerance { get; set; }
Property Value
LatencyTime
public long LatencyTime { get; set; }
Property Value
ProvideClock
public bool ProvideClock { get; set; }
Property Value
SlaveMethod
public AudioBaseSinkSlaveMethod SlaveMethod { get; set; }
Property Value
Methods
CreateRingbuffer()
public AudioRingBuffer? CreateRingbuffer()
Returns
GetAlignmentThreshold()
public ClockTime GetAlignmentThreshold()
Returns
GetDiscontWait()
public ClockTime GetDiscontWait()
Returns
GetDriftTolerance()
public long GetDriftTolerance()
Returns
GetGType()
public static Type GetGType()
Returns
GetProvideClock()
public bool GetProvideClock()
Returns
GetSlaveMethod()
public AudioBaseSinkSlaveMethod GetSlaveMethod()
Returns
NewFromPointer(nint, bool)
Creates a new managed AudioBaseSink instance for a given pointer.
public static AudioBaseSink NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new AudioBaseSink and sets the properties specified by the construct arguments.
public static AudioBaseSink NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.
Returns
ReportDeviceFailure()
[Version("1.6")]
public void ReportDeviceFailure()
SetAlignmentThreshold(ClockTime)
public void SetAlignmentThreshold(ClockTime alignmentThreshold)
Parameters
alignmentThresholdClockTime
SetCustomSlavingCallback(AudioBaseSinkCustomSlavingCallback)
[Version("1.6")]
public void SetCustomSlavingCallback(AudioBaseSinkCustomSlavingCallback callback)
Parameters
callbackAudioBaseSinkCustomSlavingCallback
SetDiscontWait(ClockTime)
public void SetDiscontWait(ClockTime discontWait)
Parameters
discontWaitClockTime
SetDriftTolerance(long)
public void SetDriftTolerance(long driftTolerance)
Parameters
driftTolerancelong
SetProvideClock(bool)
public void SetProvideClock(bool provide)
Parameters
providebool
SetSlaveMethod(AudioBaseSinkSlaveMethod)
public void SetSlaveMethod(AudioBaseSinkSlaveMethod method)
Parameters
methodAudioBaseSinkSlaveMethod