Corrected a bug with the voice trigger getters
This commit is contained in:
parent
dd442ed19d
commit
3e3a995bc0
1 changed files with 2 additions and 2 deletions
|
|
@ -396,12 +396,12 @@ int sfz::Voice::getTriggerNumber() const noexcept
|
||||||
|
|
||||||
int sfz::Voice::getTriggerChannel() const noexcept
|
int sfz::Voice::getTriggerChannel() const noexcept
|
||||||
{
|
{
|
||||||
return triggerNumber;
|
return triggerChannel;
|
||||||
}
|
}
|
||||||
|
|
||||||
uint8_t sfz::Voice::getTriggerValue() const noexcept
|
uint8_t sfz::Voice::getTriggerValue() const noexcept
|
||||||
{
|
{
|
||||||
return triggerNumber;
|
return triggerValue;
|
||||||
}
|
}
|
||||||
|
|
||||||
sfz::Voice::TriggerType sfz::Voice::getTriggerType() const noexcept
|
sfz::Voice::TriggerType sfz::Voice::getTriggerType() const noexcept
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue