audio/chord_region.h file

ZRegion for ChordObject's.

Contents

Functions

auto chord_region_new(const Position* start_pos, const Position* end_pos, int idx) -> NONNULL ZRegion*
Creates a new ZRegion for chords.
auto chord_region_insert_chord_object(ZRegion* self, ChordObject* chord, int pos, bool fire_events) -> NONNULL void
Inserts a ChordObject to the Region.
auto chord_region_add_chord_object(ZRegion* self, ChordObject* chord, bool fire_events) -> NONNULL void
Adds a ChordObject to the Region.
auto chord_region_remove_chord_object(ZRegion* self, ChordObject* chord, int free, bool fire_events) -> NONNULL void
Removes a ChordObject from the Region.
auto chord_region_free_members(ZRegion* self) -> NONNULL void
Frees members only but not the ZRegion itself.