Skip to content
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

Fix MidiSequence.DivisionType; logic was swapped #2

Merged
merged 1 commit into from
Mar 6, 2017

Conversation

Slight0
Copy link
Contributor

@Slight0 Slight0 commented Mar 5, 2017

MidiSequence.DivisionType would return DivisionType.TicksPerBeat when the MSB (bit 15) was set to 1, whereas the spec denotes that bit as meaning the division is "frames per second". Simple swap mistake, figured I'd let you know.

MidiSequence.DivisionType would return DivisionType.TicksPerBeat when the MSB (bit 15) was set to 1, whereas the spec denotes that bit as meaning the division is "frames per second". Simple swap mistake, figured I'd let you know.
Copy link
Owner

@stephentoub stephentoub left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix!

@stephentoub stephentoub merged commit 632373d into stephentoub:master Mar 6, 2017
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.

2 participants