Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from hhromic/master
Added missing SND_SEQ_EVENT_CLOCK event (MIDI Real Time Clock message) f...
- Loading branch information
4034140
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi !
Thanks for accepting my pull-request! However I noticed that now the
SND_SEQ_EVENT_CLOCK
event case is duplicated! I don't fully understand what happened, but browsing a bit in GitHub it seems that you renamedTICK
toCLOCK
before (commit c80bfb6) and then merged my PR (commit eb300bf) all at the same time, leading to this code duplication. Sorry for the mess!Also I think you should mention this GitHub repository somewhere in the RtMidi main page, so the Debian (and other) package mantainers can link it to the Debian packages and apply these fixes quickly =).
Cheers and thanks for the good work,
Hugo.
4034140
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure what happened, it sounds like something that should have been flagged as a conflict during merge.
Anyways, wanted to respond to your second comment -- I agree the link needs updating, but I don't agree that packagers should be encouraged to apply fixes between releases. Give RtMidi some time to be tested and released before the Debian packages are updated, this will avoid headaches.
4034140
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi again! After checking it closely, I think the following happened:
SND_SEQ_EVENT_TICK
toSND_SEQ_EVENT_CLOCK
SND_SEQ_EVENT_CLOCK
case.The above is not technically a conflict hence Git would not flag anything. I suspect Gary did that change because I wrote him an email before I knew the existence of this rtmidi repo (because it isn't in the main page hehe). Then I made the PR and during merge both changes slipped silently.
My suggestion: simply delete the duplicate code or, better IMO, restore the
SND_SEQ_EVENT_TICK
case as it was before together with my PR. I can make another PR fixing this again if you wish. Please let me know what do you prefer.Regarding about notifying packagers, yes you are right, official packages should be tested more. Let make them do the job as usual when RtMidi gets to 2.0.2 =). Meanwhile I will clone this repo to work with.
Thanks again!
Hugo.
4034140
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I put in #9 based on @hhromic's suggestion.