13
0

triggerbox: change type of _follow_count property to avoid signed/unsigned warnings

This commit is contained in:
Paul Davis 2021-12-17 15:26:07 -07:00
parent 95355f943f
commit 9f957f8220
2 changed files with 3 additions and 3 deletions

View File

@ -256,7 +256,7 @@ class LIBARDOUR_API Trigger : public PBD::Stateful {
FollowAction _follow_action[2];
PBD::Property<int> _follow_action_probability;
uint32_t _loop_cnt; /* how many times in a row has this played */
PBD::Property<int> _follow_count;
PBD::Property<uint32_t> _follow_count;
Temporal::BBT_Offset _quantization;
PBD::Property<bool> _legato;
std::string _name;
@ -621,7 +621,7 @@ namespace Properties {
LIBARDOUR_API extern PBD::PropertyDescriptor<Trigger::LaunchStyle> launch_style;
LIBARDOUR_API extern PBD::PropertyDescriptor<Trigger::FollowAction> follow_action0;
LIBARDOUR_API extern PBD::PropertyDescriptor<Trigger::FollowAction> follow_action1;
LIBARDOUR_API extern PBD::PropertyDescriptor<int> follow_count;
LIBARDOUR_API extern PBD::PropertyDescriptor<uint32_t> follow_count;
LIBARDOUR_API extern PBD::PropertyDescriptor<int> follow_action_probability;
LIBARDOUR_API extern PBD::PropertyDescriptor<float> velocity_effect;
LIBARDOUR_API extern PBD::PropertyDescriptor<gain_t> gain;

View File

@ -53,7 +53,7 @@ namespace ARDOUR {
PBD::PropertyDescriptor<Trigger::FollowAction> follow_action0;
PBD::PropertyDescriptor<Trigger::FollowAction> follow_action1;
PBD::PropertyDescriptor<Trigger*> currently_playing;
PBD::PropertyDescriptor<int> follow_count;
PBD::PropertyDescriptor<uint32_t> follow_count;
PBD::PropertyDescriptor<int> follow_action_probability;
PBD::PropertyDescriptor<float> velocity_effect;
PBD::PropertyDescriptor<gain_t> gain;