diff options
author | Dave Robillard <dave@drobilla.net> | 2009-06-20 19:52:26 -0400 |
---|---|---|
committer | Dave Robillard <dave@drobilla.net> | 2009-06-20 19:52:26 -0400 |
commit | a6389f9a9220e11110778ec46b6c12abeb058d94 (patch) | |
tree | f758d7cb8b8146f2ec71c63f20a231bc9dded4fe /ext/lv2/gstlv2.h | |
parent | 23953f27c870c42ce369d717bc15b7f8001691a1 (diff) | |
download | gst-plugins-bad-a6389f9a9220e11110778ec46b6c12abeb058d94.tar.gz gst-plugins-bad-a6389f9a9220e11110778ec46b6c12abeb058d94.tar.bz2 gst-plugins-bad-a6389f9a9220e11110778ec46b6c12abeb058d94.zip |
Query and store port group information.
Replace port index arrays with a struct for holding more information
than just indices (e.g. groups).
Diffstat (limited to 'ext/lv2/gstlv2.h')
-rw-r--r-- | ext/lv2/gstlv2.h | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/ext/lv2/gstlv2.h b/ext/lv2/gstlv2.h index 66f9ddf9..9fac262a 100644 --- a/ext/lv2/gstlv2.h +++ b/ext/lv2/gstlv2.h @@ -57,15 +57,22 @@ struct _GstLV2 { gboolean activated; }; +struct _GstLV2Port { + gint index; + SLV2Value group; +}; + struct _GstLV2Class { GstSignalProcessorClass parent_class; SLV2Plugin plugin; - gint *audio_in_portnums; - gint *audio_out_portnums; - gint *control_in_portnums; - gint *control_out_portnums; + GSList *groups; + + struct _GstLV2Port *audio_in_ports; + struct _GstLV2Port *audio_out_ports; + struct _GstLV2Port *control_in_ports; + struct _GstLV2Port *control_out_ports; }; |