Remove hardcoded thinning factor

This commit is contained in:
Robin Gareus 2022-12-18 00:55:28 +01:00
parent a5f36bbbbf
commit 028c19cd10
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -483,7 +483,7 @@ MidiPlaylist::combine (RegionList const & rl, boost::shared_ptr<Track> trk)
* and recorded. So it has to be thinned it like after a write-pass. * and recorded. So it has to be thinned it like after a write-pass.
*/ */
for (auto& l: new_region->model ()->controls()) { for (auto& l: new_region->model ()->controls()) {
l.second->list()->thin (20); l.second->list()->thin (Config->get_automation_thinning_factor ());
} }
/* write MIDI to disk */ /* write MIDI to disk */