remove another instance of std::numeric_limits<timecnt_t>::max()
This commit is contained in:
parent
887cd070b0
commit
17832e9f86
@ -301,7 +301,7 @@ MidiSource::midi_write (const Lock& lm,
|
|||||||
{
|
{
|
||||||
const timecnt_t ret = write_unlocked (lm, source, source_start, cnt);
|
const timecnt_t ret = write_unlocked (lm, source, source_start, cnt);
|
||||||
|
|
||||||
if (cnt == std::numeric_limits<timecnt_t>::max()) {
|
if (cnt == timecnt_t::max (cnt.time_domain())) {
|
||||||
invalidate(lm);
|
invalidate(lm);
|
||||||
} else {
|
} else {
|
||||||
_capture_length += cnt.samples();
|
_capture_length += cnt.samples();
|
||||||
|
Loading…
Reference in New Issue
Block a user