Skip to content

implement getCallback and warn from RtMidiCompatibility classes. #15

@keinstein

Description

@keinstein

RtMidi issues a warning when the MIDI callback is set twice. This is checked against a null pointer.
The actual interface does not set a callback and implements polling using a callback class. So the null pointer check does not work anymore.

The compatibily class should check the current callback against its queue address so it needs to retrieve the callback from the backend.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions