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

improvements #255

Merged
merged 12 commits into from
Sep 28, 2023
Merged

improvements #255

merged 12 commits into from
Sep 28, 2023

Conversation

Raffaello
Copy link
Owner

@Raffaello Raffaello commented Sep 23, 2023

  • MT32 requires its own dedicated midi driver
  • create a Timer with microseconds resolution to process MIDI events and use it for the callback not required, but some changes need to be made for rendering and in such case the opl callback as to call a callback that will send to it midi events.
  • create a MIDDrv using a callback instead of a thread.~ (not sure is required anymore, as it will requires a timer to process midi events on a specific interval time, so basically what the thread is already doing)
  • try renderer a MIDI as it is, it won't be rendered due to the thread and delay to wait to send msg. need to be reviewed
  • Renderer ADL Files
  • Renderer MIDI Files

@Raffaello Raffaello self-assigned this Sep 23, 2023
@Raffaello Raffaello changed the title code rev improvements Sep 23, 2023
Comment on lines +25 to +29
m_opl([&opl] {
if (opl == nullptr)
utils::throwLogC<std::runtime_error>("OPL device is null");
return opl->getOpl();
}()),
Copy link
Owner Author

Choose a reason for hiding this comment

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

duplicated code with MidiDriver_ADLIB .....

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 24 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@Raffaello Raffaello merged commit 9a17c14 into master Sep 28, 2023
@Raffaello Raffaello deleted the improvemets3 branch September 28, 2023 10:00
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