session: clarify comment about reading sample rate from templates

This commit is contained in:
Mads Kiilerich 2022-10-05 17:26:02 +02:00 committed by Paul Davis
parent d91930b53c
commit 51333165e8
1 changed files with 2 additions and 4 deletions

View File

@ -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()) {