mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-29 08:23:01 +01:00
session: fix for creation of new/default tempo map
This commit is contained in:
parent
722a159ac1
commit
f3fe31da27
1 changed files with 2 additions and 2 deletions
|
|
@ -343,8 +343,8 @@ Session::Session (AudioEngine &eng,
|
|||
|
||||
TempoMap::SharedPtr tmcopy (TempoMap::write_copy());
|
||||
/* this discards the copy that was made, and installs the new default tempo map */
|
||||
tmcopy = new TempoMap();
|
||||
TempoMap::update (new_tempo_map);
|
||||
tmcopy.reset (new TempoMap (Tempo (120, 4), Meter (4, 4)));
|
||||
TempoMap::update (tmcopy);
|
||||
|
||||
created_with = string_compose ("%1 %2", PROGRAM_NAME, revision);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue