projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9f2e32
)
Fix reversed logic in legacy tempo secton detection
author
nick_m
<mainsbridge@gmail.com>
Thu, 8 Jun 2017 15:34:14 +0000
(
01:34
+1000)
committer
nick_m
<mainsbridge@gmail.com>
Thu, 8 Jun 2017 15:34:14 +0000
(
01:34
+1000)
libs/ardour/tempo.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/tempo.cc
b/libs/ardour/tempo.cc
index c04f6803fd345fa45f8ddd844647b23b2d77831f..e676c274f471725b634618e39b110b4840fdaeb2 100644
(file)
--- a/
libs/ardour/tempo.cc
+++ b/
libs/ardour/tempo.cc
@@
-206,7
+206,7
@@
TempoSection::TempoSection (const XMLNode& node, framecnt_t sample_rate)
}
TempoSection::Type old_type;
- if (
!
node.get_property ("tempo-type", old_type)) {
+ if (node.get_property ("tempo-type", old_type)) {
/* sessions with a tempo-type node contain no end-beats-per-minute.
if the legacy node indicates a constant tempo, simply fill this in with the
start tempo. otherwise we need the next neighbour to know what it will be.