1 /* gstreamer-cdda-0.10.vapi generated by vapigen, do not modify. */
3 [CCode (cprefix = "Gst", lower_case_cprefix = "gst_")]
5 [CCode (cheader_filename = "gst/cdda/gstcddabasesrc.h")]
6 public class CddaBaseSrc : Gst.PushSrc, Gst.URIHandler {
10 public weak Gst.Index index;
12 [CCode (array_length = false)]
13 public weak char[] mb_discid;
14 public uint num_all_tracks;
15 public uint num_tracks;
16 public int prev_track;
17 public int seek_sector;
18 public weak Gst.TagList tags;
20 public int toc_offset;
21 public weak Gst.CddaBaseSrcTrack tracks;
22 public weak string uri;
24 [CCode (has_construct_function = false)]
25 protected CddaBaseSrc ();
26 public bool add_track (Gst.CddaBaseSrcTrack track);
28 public virtual void close ();
30 public virtual unowned string get_default_device ();
32 public virtual bool open (string device);
34 public virtual unowned string probe_devices ();
36 public virtual unowned Gst.Buffer read_sector (int sector);
38 public string device { owned get; set; }
40 public Gst.CddaBaseSrcMode mode { get; set; }
42 public uint track { get; set; }
45 [CCode (cheader_filename = "gst/cdda/gstcddabasesrc.h")]
46 public class CddaBaseSrcTrack {
51 public weak Gst.TagList tags;
53 [CCode (cprefix = "GST_CDDA_BASE_SRC_MODE_", cheader_filename = "gst/cdda/gstcddabasesrc.h")]
54 public enum CddaBaseSrcMode {
58 [CCode (cheader_filename = "gst/cdda/gstcddabasesrc.h")]
59 public const string TAG_CDDA_TRACK_TAGS;