From 51333165e88993f92b632ffd8f23d09c91c33a17 Mon Sep 17 00:00:00 2001 From: Mads Kiilerich Date: Wed, 5 Oct 2022 17:26:02 +0200 Subject: [PATCH] session: clarify comment about reading sample rate from templates --- libs/ardour/session.cc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/libs/ardour/session.cc b/libs/ardour/session.cc index 2b23dd57ee..30e24ebfc5 100644 --- a/libs/ardour/session.cc +++ b/libs/ardour/session.cc @@ -390,10 +390,8 @@ Session::Session (AudioEngine &eng, * so that we have the state ready for ::set_state() * after the engine is started. * - * Note that we do NOT try to get the sample rate from - * the template at this time, though doing so would - * be easy if we decided this was an appropriate part - * of a template. + * Note that templates are saved without sample rate, and the + * current / previous sample rate will thus also be used after load_state() */ if (!mix_template.empty()) {