mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-18 12:46:32 +01:00
remove another instance of std::numeric_limits<timecnt_t>::max()
This commit is contained in:
parent
d7fdec2ef5
commit
a72108636b
1 changed files with 1 additions and 1 deletions
|
|
@ -344,7 +344,7 @@ SMFSource::write_unlocked (const Lock& lock,
|
|||
break;
|
||||
}
|
||||
|
||||
if ((cnt != std::numeric_limits<timecnt_t>::max()) &&
|
||||
if ((cnt != timecnt_t::max (cnt.time_domain())) &&
|
||||
(time > pos_samples + _capture_length + cnt_samples)) {
|
||||
/* The diskstream doesn't want us to write everything, and this
|
||||
event is past the end of this block, so we're done for now. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue