Sink
Object Hierarchy:
Description:
[ CCode ( type_id = "gst_audio_sink_get_type ()" ) ]
[ GIR ( name = "AudioSink" ) ]
public class Sink : BaseSink
[ GIR ( name = "AudioSink" ) ]
public class Sink : BaseSink
This is the most simple base class for audio sinks that only requires subclasses to implement a set of simple functions:
* `open()` GstAudioSink:Open the device.
* `prepare()` GstAudioSink:Configure the device with the specified format.
* `write()` GstAudioSink:Write samples to the device.
* `reset()` GstAudioSink:Unblock writes and flush the device.
* `delay()` GstAudioSink:Get the number of samples written but not yet played by the device.
* `unprepare()` GstAudioSink:Undo operations done by prepare.
* `close()` GstAudioSink:Close the device.
All scheduling of samples and timestamps is done in this base class together with BaseSink using a default implementation of a RingBuffer that uses threads.
Namespace: Gst.Audio
Package: gstreamer-audio-1.0
Content:
Creation methods:
Methods:
Fields:
Inherited Members:
All known members inherited from class Gst.Audio.BaseSink
All known members inherited from class Gst.Base.Sink
All known members inherited from class Gst.Element
All known members inherited from class Gst.Object
All known members inherited from class GLib.Object