-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This attempts to fix a bug uncovered by LMMS#5581, where the wrong MidiEvent constructor is selected due to ambiguity in the arguments that are used in the call. Part of the solution is to use a enum class on the last parameter instead of a boolean to avoid implicit conversions and a more strict method selection through the ADL. One of the parameters type on a constructor was also changed from int to std::size_t which more accurately represents it. "ignoreOnExport" was replaced with "source", which for now can be Source::Internal or Source::External, and its value is still used on the processInEvent to define whether a MidiEvent should be ignored during the song export.
- Loading branch information
Showing
2 changed files
with
17 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters