Src


Object Hierarchy:

Gst.Audio.Src Gst.Audio.Src Gst.Audio.Src Gst.Audio.BaseSrc Gst.Audio.BaseSrc Gst.Audio.BaseSrc->Gst.Audio.Src Gst.Base.PushSrc Gst.Base.PushSrc Gst.Base.PushSrc->Gst.Audio.BaseSrc Gst.Base.Src Gst.Base.Src Gst.Base.Src->Gst.Base.PushSrc Gst.Element Gst.Element Gst.Element->Gst.Base.Src 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_src_get_type ()" ) ]
[ GIR ( name = "AudioSrc" ) ]
public class Src : BaseSrc

This is the most simple base class for audio sources that only requires subclasses to implement a set of simple functions:

* `open()` :Open the device. * `prepare()` :Configure the device with the specified format. * `read()` :Read samples from the device. * `reset()` :Unblock reads and flush the device. * `delay()` :Get the number of samples in the device but not yet read. * `unprepare()` :Undo operations done by prepare. * `close()` :Close the device.

All scheduling of samples and timestamps is done in this base class together with BaseSrc using a default implementation of a RingBuffer that uses threads.


Namespace: Gst.Audio

Content:

Creation methods:

Methods:

Inherited Members:

All known members inherited from class Gst.Base.PushSrc
All known members inherited from class Gst.Base.Src
All known members inherited from class Gst.Element
All known members inherited from class Gst.Object
All known members inherited from class GLib.Object



2022 vala-language.org