Skip to content

Osc support (3rd try) #517

New issue

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

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

Already on GitHub? Sign in to your account

Draft
wants to merge 9 commits into
base: develop
Choose a base branch
from

Conversation

piegamesde
Copy link

@piegamesde piegamesde commented Oct 12, 2019

I redid some things, cherrypicked some commits and did a few things differently. Tell me which implementation details you prefer.

- Renamed all the methods, sometimes altering their name to make them more consistent
- Removed deprecated methods
- Adapted documentation
- The `JackMessageAPI.cpp` currently is just a copy of `JackMidiAPI.cpp`.
It almost completely replaced the midi port type.
`JACK_METADATA_SIGNAL_TYPE` and  `JACK_METADATA_EVENT_TYPES` get deprecated in favour of `JACK_METADATA_PORT_CONTENT`.
- It makes no sense to have two different properties, since they can be distinguished based on the port's type. It requires one step more to get the content type of an unknown port.
- Having a port support multiple protocols is not a good idea. It results in input and output ports having a different meaning ("be liberal in what you accept and conservative in what you send"). It makes checking for compatibility between two port way harder for little benefit.
@piegamesde
Copy link
Author

@drobilla Should I take back ffa8b85 or part of it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant