Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Simplified passing MIDIInputNumber #2133

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

oleg68
Copy link
Contributor

@oleg68 oleg68 commented Mar 1, 2025

This is a next MIDI-related PR.

Earlier there was a member m_MIDIInputNumber in GOEnclosure and GOManual and a very complex and unstable call graph for obtaining it in GOMidiReceiver::Load with additional virtual functions.

Now GOMidiReceivingSendingObject has m_MidiInputNumber and passes it to GOMidiReceiver::Load without extra virtual functions.

As a side-effect, now it is possible to specify MIDIInputNumber for Stop, and Switch objects in the ODF as well for Enclosure and Manual.

@oleg68 oleg68 requested review from larspalo and rousseldenis March 1, 2025 19:35
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant