Sink


Object Hierarchy:

Gst.Audio.Sink Gst.Audio.Sink Gst.Audio.Sink Gst.Audio.BaseSink Gst.Audio.BaseSink Gst.Audio.BaseSink->Gst.Audio.Sink Gst.Base.Sink Gst.Base.Sink Gst.Base.Sink->Gst.Audio.BaseSink Gst.Element Gst.Element Gst.Element->Gst.Base.Sink Gst.Object Gst.Object Gst.Object->Gst.Element GLib.InitiallyUnowned GLib.InitiallyUnowned GLib.InitiallyUnowned->Gst.Object GLib.Object GLib.Object GLib.Object->GLib.InitiallyUnowned

Description:

[ CCode ( type_id = "gst_audio_sink_get_type ()" ) ]
[ 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()` :Open the device.

* `prepare()` :Configure the device with the specified format.

* `write()` :Write samples to the device.

* `reset()` :Unblock writes and flush the device.

* `delay()` :Get the number of samples written but not yet played by the device.

* `unprepare()` :Undo operations done by prepare.

* `close()` :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

Content:

Creation methods:

Methods:

Fields:

Inherited Members:

All known members inherited from class Gst.Element