fix crash introduced in d8b3
This commit is contained in:
parent
6bc881086b
commit
227815ebab
@ -1048,9 +1048,11 @@ AudioTrigger::set_segment_tempo (double t)
|
|||||||
/* TODO: once we have a Region Trimmer, this could get more complicated:
|
/* TODO: once we have a Region Trimmer, this could get more complicated:
|
||||||
* this segment might overlap another SD (Coverage==Internal|Start|End)
|
* this segment might overlap another SD (Coverage==Internal|Start|End)
|
||||||
* in which case we might be setting both SDs, or not. TBD*/
|
* in which case we might be setting both SDs, or not. TBD*/
|
||||||
SegmentDescriptor segment = get_segment_descriptor();
|
if (_region) {
|
||||||
for (auto & src : _region->sources()) {
|
SegmentDescriptor segment = get_segment_descriptor();
|
||||||
src->set_segment_descriptor (segment);
|
for (auto & src : _region->sources()) {
|
||||||
|
src->set_segment_descriptor (segment);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user