mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 23:05:04 +01:00
exclude xrun markers from those returned by Locations::marks_either_side()
Surveying the uses of ::markers_either_side() makes it clear that xrun markers are never relevant to the callers.
This commit is contained in:
parent
dfa9f92e53
commit
5640f820d3
1 changed files with 1 additions and 1 deletions
|
|
@ -1368,7 +1368,7 @@ Locations::marks_either_side (samplepos_t const sample, samplepos_t& before, sam
|
||||||
std::list<samplepos_t> positions;
|
std::list<samplepos_t> positions;
|
||||||
|
|
||||||
for (LocationList::const_iterator i = locs.begin(); i != locs.end(); ++i) {
|
for (LocationList::const_iterator i = locs.begin(); i != locs.end(); ++i) {
|
||||||
if (((*i)->is_auto_loop() || (*i)->is_auto_punch())) {
|
if (((*i)->is_auto_loop() || (*i)->is_auto_punch()) || (*i)->is_xrun()) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue