From f295b5943947643a2b58533ff753e271265caf24 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 31 Oct 2024 12:06:38 -0600 Subject: [PATCH] add useful comment --- libs/ardour/smf_source.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/ardour/smf_source.cc b/libs/ardour/smf_source.cc index ee8a5415be..a5d8ddabda 100644 --- a/libs/ardour/smf_source.cc +++ b/libs/ardour/smf_source.cc @@ -461,6 +461,8 @@ SMFSource::write_unlocked (const WriterLock& lock, void SMFSource::update_length (timepos_t const & dur) { + /* no time domain switching here */ + assert (!_length || (_length.time_domain() == dur.time_domain())); if (_model) {