Corrected a bug with the voice trigger getters

This commit is contained in:
paulfd 2019-09-08 22:32:48 +02:00
parent dd442ed19d
commit 3e3a995bc0

View file

@ -396,12 +396,12 @@ int sfz::Voice::getTriggerNumber() const noexcept
int sfz::Voice::getTriggerChannel() const noexcept
{
return triggerNumber;
return triggerChannel;
}
uint8_t sfz::Voice::getTriggerValue() const noexcept
{
return triggerNumber;
return triggerValue;
}
sfz::Voice::TriggerType sfz::Voice::getTriggerType() const noexcept