Table of Contents

Class AudioBaseSink

Namespace
GstAudio.Internal
Assembly
GstAudio-1.0.dll
public class AudioBaseSink
Inheritance
AudioBaseSink
Inherited Members

Methods

CreateRingbuffer(IntPtr)

Calls native method gst_audio_base_sink_create_ringbuffer.

public static extern IntPtr CreateRingbuffer(IntPtr sink)

Parameters

sink IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: True

GetAlignmentThreshold(IntPtr)

Calls native method gst_audio_base_sink_get_alignment_threshold.

public static extern ulong GetAlignmentThreshold(IntPtr sink)

Parameters

sink IntPtr

Transfer ownership: None Nullable: False

Returns

ulong

Transfer ownership: None Nullable: False

GetDiscontWait(IntPtr)

Calls native method gst_audio_base_sink_get_discont_wait.

public static extern ulong GetDiscontWait(IntPtr sink)

Parameters

sink IntPtr

Transfer ownership: None Nullable: False

Returns

ulong

Transfer ownership: None Nullable: False

GetDriftTolerance(IntPtr)

Calls native method gst_audio_base_sink_get_drift_tolerance.

public static extern long GetDriftTolerance(IntPtr sink)

Parameters

sink IntPtr

Transfer ownership: None Nullable: False

Returns

long

Transfer ownership: None Nullable: False

GetGType()

Calls native function gst_audio_base_sink_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetProvideClock(IntPtr)

Calls native method gst_audio_base_sink_get_provide_clock.

public static extern bool GetProvideClock(IntPtr sink)

Parameters

sink IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GetSlaveMethod(IntPtr)

Calls native method gst_audio_base_sink_get_slave_method.

public static extern AudioBaseSinkSlaveMethod GetSlaveMethod(IntPtr sink)

Parameters

sink IntPtr

Transfer ownership: None Nullable: False

Returns

AudioBaseSinkSlaveMethod

Transfer ownership: None Nullable: False

ReportDeviceFailure(IntPtr)

Calls native method gst_audio_base_sink_report_device_failure. Version: 1.6

[Version("1.6")]
public static extern void ReportDeviceFailure(IntPtr sink)

Parameters

sink IntPtr

Transfer ownership: None Nullable: False

SetAlignmentThreshold(IntPtr, ClockTime)

Calls native method gst_audio_base_sink_set_alignment_threshold.

public static extern void SetAlignmentThreshold(IntPtr sink, ClockTime alignmentThreshold)

Parameters

sink IntPtr

Transfer ownership: None Nullable: False

alignmentThreshold ClockTime

Transfer ownership: None Nullable: False

SetCustomSlavingCallback(IntPtr, AudioBaseSinkCustomSlavingCallback, IntPtr, DestroyNotify)

Calls native method gst_audio_base_sink_set_custom_slaving_callback. Version: 1.6

[Version("1.6")]
public static extern void SetCustomSlavingCallback(IntPtr sink, AudioBaseSinkCustomSlavingCallback callback, IntPtr userData, DestroyNotify notify)

Parameters

sink IntPtr

Transfer ownership: None Nullable: False

callback AudioBaseSinkCustomSlavingCallback

Transfer ownership: None Nullable: False

userData IntPtr

Transfer ownership: None Nullable: True

notify DestroyNotify

Transfer ownership: None Nullable: False

SetDiscontWait(IntPtr, ClockTime)

Calls native method gst_audio_base_sink_set_discont_wait.

public static extern void SetDiscontWait(IntPtr sink, ClockTime discontWait)

Parameters

sink IntPtr

Transfer ownership: None Nullable: False

discontWait ClockTime

Transfer ownership: None Nullable: False

SetDriftTolerance(IntPtr, long)

Calls native method gst_audio_base_sink_set_drift_tolerance.

public static extern void SetDriftTolerance(IntPtr sink, long driftTolerance)

Parameters

sink IntPtr

Transfer ownership: None Nullable: False

driftTolerance long

Transfer ownership: None Nullable: False

SetProvideClock(IntPtr, bool)

Calls native method gst_audio_base_sink_set_provide_clock.

public static extern void SetProvideClock(IntPtr sink, bool provide)

Parameters

sink IntPtr

Transfer ownership: None Nullable: False

provide bool

Transfer ownership: None Nullable: False

SetSlaveMethod(IntPtr, AudioBaseSinkSlaveMethod)

Calls native method gst_audio_base_sink_set_slave_method.

public static extern void SetSlaveMethod(IntPtr sink, AudioBaseSinkSlaveMethod method)

Parameters

sink IntPtr

Transfer ownership: None Nullable: False

method AudioBaseSinkSlaveMethod

Transfer ownership: None Nullable: False