13
0

remove another NUTEMPO warning (potentially allows audio regions to have beat time position)

This commit is contained in:
Paul Davis 2021-01-22 11:24:20 -07:00
parent d131a9aa12
commit 18e925e4ac

View File

@ -414,10 +414,10 @@ AudioTrack::freeze_me (InterThreadInfo& itt)
timepos_t pos; timepos_t pos;
if (time_domain() == Temporal::AudioTime) { pos = timepos_t (_session.current_start_sample());
pos = timepos_t (_session.current_start_sample());
} else { if (time_domain() != Temporal::AudioTime) {
pos = timepos_t (Temporal::TempoMap::use()->quarters_at_sample (_session.current_start_sample())); pos = timepos_t (pos.beats());
} }
new_playlist->add_region (region, pos); new_playlist->add_region (region, pos);