Skip to content

General improvements - #92

Draft
charlesthobe wants to merge 15 commits into
ZDoom:masterfrom
charlesthobe:code_organization
Draft

General improvements#92
charlesthobe wants to merge 15 commits into
ZDoom:masterfrom
charlesthobe:code_organization

Conversation

@charlesthobe

@charlesthobe charlesthobe commented Mar 24, 2026

Copy link
Copy Markdown
Contributor
  • AlsaMIDIDevice and CoreMIDIDevice small refactor
  • Ensure correct sysex messages before sending to "softsynth" backends
  • Add MEVENT_SHORTMSG enum member
  • attribution fixes

@charlesthobe
charlesthobe marked this pull request as draft March 24, 2026 22:21
@charlesthobe
charlesthobe force-pushed the code_organization branch 9 times, most recently from 41efd43 to 9a12082 Compare March 26, 2026 11:38
@charlesthobe
charlesthobe marked this pull request as ready for review March 26, 2026 11:39
@charlesthobe
charlesthobe force-pushed the code_organization branch 7 times, most recently from 10047f1 to 85f57ef Compare March 28, 2026 14:08
@charlesthobe
charlesthobe marked this pull request as draft March 28, 2026 19:28
@charlesthobe
charlesthobe force-pushed the code_organization branch 6 times, most recently from f84f534 to 9bbfaa2 Compare March 31, 2026 13:52
@charlesthobe
charlesthobe marked this pull request as ready for review March 31, 2026 13:59
@charlesthobe
charlesthobe force-pushed the code_organization branch 2 times, most recently from 8d4c80d to 624e19f Compare April 2, 2026 20:16
@charlesthobe
charlesthobe force-pushed the code_organization branch 2 times, most recently from 1378f67 to 9626715 Compare April 18, 2026 03:33
@charlesthobe charlesthobe changed the title CoreMIDIDevice: Fix potential crash when enumerating device names General improvements Apr 30, 2026
@charlesthobe
charlesthobe force-pushed the code_organization branch 2 times, most recently from 984547a to 4a695f3 Compare April 30, 2026 21:37
@charlesthobe
charlesthobe force-pushed the code_organization branch 11 times, most recently from 6a3ac79 to ea8bd07 Compare May 1, 2026 23:26
… struct

and change the naming convention of its members to be more fitting
This also makes sure the constructor for "time_until_pulled_ev" is the
correct value via promotion of the operands in the constructor because
even in cases where all values of the operands were correct any
intermediary result or the final result could overflow/underflow.
after an absurdly long time (weeks) of playback there was a possiblity that the
PlayerThread could sleep for the same absurd amount of time, if queue_tick wraps
around to 0 before pulled_event_tick.
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