mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-21 06:06:25 +01:00
add trim to loop/punch; fixup trim start/end to EP to work with new paradigm
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2622 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
0901000abb
commit
fd5ee963cc
5 changed files with 236 additions and 25 deletions
|
|
@ -1132,6 +1132,8 @@ class Editor : public PublicEditor
|
|||
|
||||
void set_fade_in_shape (ARDOUR::AudioRegion::FadeShape);
|
||||
void set_fade_out_shape (ARDOUR::AudioRegion::FadeShape);
|
||||
|
||||
void set_fade_length (bool in);
|
||||
|
||||
void set_fade_in_active (bool);
|
||||
void set_fade_out_active (bool);
|
||||
|
|
@ -1626,6 +1628,9 @@ class Editor : public PublicEditor
|
|||
|
||||
void trim_region_to_edit_point ();
|
||||
void trim_region_from_edit_point ();
|
||||
void trim_region_to_loop ();
|
||||
void trim_region_to_punch ();
|
||||
void trim_region_to_location (const ARDOUR::Location&, const char* cmd);
|
||||
|
||||
bool show_gain_after_trim;
|
||||
|
||||
|
|
@ -1928,6 +1933,10 @@ class Editor : public PublicEditor
|
|||
bool get_edit_op_range (nframes64_t& start, nframes64_t& end) const;
|
||||
|
||||
RegionSelection get_regions_at (nframes64_t where, const TrackSelection& ts) const;
|
||||
|
||||
RegionSelection tmp_regions;
|
||||
|
||||
RegionSelection& get_regions_for_action ();
|
||||
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue