projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
change Session::convert_to_frames_at() to Session::convert_to_frames() to reflect...
[ardour.git]
/
libs
/
ardour
/
event_type_map.cc
diff --git
a/libs/ardour/event_type_map.cc
b/libs/ardour/event_type_map.cc
index 0388a934f20bd9fa92ebd5af2e0ee1257040db17..d88e5afd265a8c1693140dfbbd838e187207e92e 100644
(file)
--- a/
libs/ardour/event_type_map.cc
+++ b/
libs/ardour/event_type_map.cc
@@
-168,7
+168,7
@@
EventTypeMap::new_parameter(uint32_t type, uint8_t channel, uint32_t id) const
return p;
}
return p;
}
- p.set_range(type, min, max, normal);
+ p.set_range(type, min, max, normal
, false
);
return p;
}
return p;
}
@@
-219,7
+219,7
@@
EventTypeMap::new_parameter(const string& str) const
assert(channel < 16);
p_id = 0;
p_channel = channel;
assert(channel < 16);
p_id = 0;
p_channel = channel;
- } else if (str.length() > 2
4 && str.substr(0, 24
) == "midi-channel-pressure-") {
+ } else if (str.length() > 2
2 && str.substr(0, 22
) == "midi-channel-pressure-") {
p_type = MidiChannelPressureAutomation;
uint32_t channel = 0;
sscanf(str.c_str(), "midi-channel-pressure-%d", &channel);
p_type = MidiChannelPressureAutomation;
uint32_t channel = 0;
sscanf(str.c_str(), "midi-channel-pressure-%d", &channel);