Truncate / expand gain envelope when region length changes.
git-svn-id: svn://localhost/ardour2/branches/3.0@6990 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
a4917c9831
commit
e950e5de0b
@ -243,6 +243,9 @@ AudioRegion::post_set ()
|
|||||||
set_default_fade_in ();
|
set_default_fade_in ();
|
||||||
_right_of_split = false;
|
_right_of_split = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* If _length changed, adjust our gain envelope accordingly */
|
||||||
|
_envelope->truncate_end (_length);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Loading…
Reference in New Issue
Block a user