gui/backend/mixer_selections.h file

Contents

Mixer selections.

Classes

struct MixerSelections
Selections to be used for the timeline's current selections, copying, undoing, etc.

Typedefs

using MixerSelections = struct MixerSelections
Selections to be used for the timeline's current selections, copying, undoing, etc.

Functions

auto mixer_selections_clone(MixerSelections* src, bool src_is_project) -> MixerSelections*
Clone the struct for copying, undoing, etc.
auto mixer_selections_has_any(MixerSelections* ms) -> int
Returns if there are any selections.
auto mixer_selections_get_highest_slot(MixerSelections* ms) -> int
Gets highest slot in the selections.
auto mixer_selections_get_lowest_slot(MixerSelections* ms) -> int
Gets lowest slot in the selections.
void mixer_selections_paste_to_slot(MixerSelections* ts, Channel* ch, PluginSlotType type, int slot)
Paste the selections starting at the slot in the given channel.
auto mixer_selections_get_track(MixerSelections* self) -> Track*
Get current Track.
auto mixer_selections_contains_slot(MixerSelections* ms, PluginSlotType type, int slot) -> bool
Returns if the slot is selected or not.
auto mixer_selections_contains_plugin(MixerSelections* ms, Plugin* pl) -> bool
Returns if the plugin is selected or not.
void mixer_selections_add_slot(MixerSelections* ms, Channel* ch, PluginSlotType type, int slot)
Adds a slot to the selections.
void mixer_selections_remove_slot(MixerSelections* ms, int slot, PluginSlotType type, int publish_events)
Removes a slot from the selections.
auto mixer_selections_get_first_plugin(MixerSelections* self) -> Plugin*
Returns the first selected plugin if any is selected, otherwise NULL.
void mixer_selections_clear(MixerSelections* ms, const int pub_events)
Clears selections.