Fix Region::verify_length() so it actually does something.
This commit is contained in:
parent
aabde88de0
commit
9aec0c627d
|
@ -388,7 +388,7 @@ class LIBARDOUR_API Region
|
|||
bool verify_start (framepos_t);
|
||||
bool verify_start_and_length (framepos_t, framecnt_t&);
|
||||
bool verify_start_mutable (framepos_t&_start);
|
||||
bool verify_length (framecnt_t);
|
||||
bool verify_length (framecnt_t&);
|
||||
|
||||
virtual void recompute_at_start () = 0;
|
||||
virtual void recompute_at_end () = 0;
|
||||
|
|
|
@ -1515,7 +1515,7 @@ Region::source_length(uint32_t n) const
|
|||
}
|
||||
|
||||
bool
|
||||
Region::verify_length (framecnt_t len)
|
||||
Region::verify_length (framecnt_t& len)
|
||||
{
|
||||
if (source() && (source()->destructive() || source()->length_mutable())) {
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue
Block a user