Top | ![]() |
![]() |
![]() |
![]() |
#define | IPATCH_SF2_ZONE_GEN_AMT() |
#define | IPATCH_SF2_ZONE_GEN_TEST_FLAG() |
#define | IPATCH_SF2_ZONE_GEN_SET_FLAG() |
#define | IPATCH_SF2_ZONE_GEN_CLEAR_FLAG() |
IpatchSF2Zone * | ipatch_sf2_zone_first () |
IpatchSF2Zone * | ipatch_sf2_zone_next () |
void | ipatch_sf2_zone_set_link_item () |
gboolean | ipatch_sf2_zone_set_link_item_no_notify () |
IpatchItem * | ipatch_sf2_zone_get_link_item () |
IpatchItem * | ipatch_sf2_zone_peek_link_item () |
Zones are children of IpatchSF2Preset and IpatchSF2Inst and define synthesis parameters and a linked item (IpatchSF2Inst in the case of IpatchSF2PZone and IpatchSF2Sample in the case of IpatchSF2IZone).
IpatchSF2Zone *
ipatch_sf2_zone_first (IpatchIter *iter
);
Gets the first item in a zone iterator. A convenience
wrapper for ipatch_iter_first()
.
[skip]
IpatchSF2Zone *
ipatch_sf2_zone_next (IpatchIter *iter
);
Gets the next item in a zone iterator. A convenience wrapper
for ipatch_iter_next()
.
[skip]
void ipatch_sf2_zone_set_link_item (IpatchSF2Zone *zone
,IpatchItem *item
);
Sets the referenced item of a zone (a IpatchSF2Inst for preset zones, IpatchSF2Sample for instrument zones). The type specific item set routines for each zone type may be preferred, as this one doesn't do strict type checking.
gboolean ipatch_sf2_zone_set_link_item_no_notify (IpatchSF2Zone *zone
,IpatchItem *item
,IpatchItem **olditem
);
Like ipatch_sf2_zone_set_link_item()
but performs no property or item
change notifications for "link-item" property (shouldn't normally be used outside of derived types),
and the old value can be retrieved with the olditem
parameter.
IpatchItem *
ipatch_sf2_zone_get_link_item (IpatchSF2Zone *zone
);
Gets the referenced item from a zone (a IpatchSF2Inst for preset zones,
IpatchSF2Sample for instrument zones). The type specific item set routines
for each zone type may be preferred, as this one doesn't do strict type
checking. The returned item's reference count is incremented and the caller
is responsible for unrefing it with g_object_unref()
.
IpatchItem *
ipatch_sf2_zone_peek_link_item (IpatchSF2Zone *zone
);
Like ipatch_sf2_zone_get_link_item()
but does not add a reference to
the returned item. This function should only be used if a reference
of the returned item is ensured or only the pointer value is of
interest.
[skip]