AudioSelections struct

Selections to be used for the AudioArrangerWidget's current selections, copying, undoing, etc.

Contents

Public variables

bool has_selection
Whether or not a selection exists.
Position sel_start
Selected range.
int pool_id
Audio pool ID of the associated audio file, used during serialization.
RegionIdentifier region_id
Identifier of the current region.

Variable documentation

Position AudioSelections::sel_start

Selected range.

The start position must always be before the end position.

Start position is included in the range, end position is excluded.

int AudioSelections::pool_id

Audio pool ID of the associated audio file, used during serialization.

Set to -1 if unused.

RegionIdentifier AudioSelections::region_id

Identifier of the current region.

Other types of selections don't need this since their objects refer to it.