We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Need to cancel the sending of packets that were previously scheduled for future delivery.
Tried with this: for (int i=0;i<midi.destinations.count;i++){ PGMidiDestination *destination = [[midi destinations] objectAtIndex:i]; [destination flushOutput]; }
Not working, then, I add these methods to PGMidi.mm
(void) flushOutput { MIDIFlushOutput(0); }
(void) flushOutput2 { for (ItemCount index = 0; index < MIDIGetNumberOfDestinations(); ++index) { MIDIEndpointRef outputEndpoint = MIDIGetDestination(index); if (outputEndpoint) {MIDIFlushOutput(outputEndpoint); } } }
Not working, the sended notes still playing after flush. Any ideas ?
The text was updated successfully, but these errors were encountered:
Same, specifically over network MIDI.
Non-network destination stops sending as expected.
Sorry, something went wrong.
No branches or pull requests
Need to cancel the sending of packets that were previously scheduled for future delivery.
Tried with this:
for (int i=0;i<midi.destinations.count;i++){
PGMidiDestination *destination = [[midi destinations] objectAtIndex:i];
[destination flushOutput];
}
Not working, then, I add these methods to PGMidi.mm
(void) flushOutput {
MIDIFlushOutput(0);
}
(void) flushOutput2
{
for (ItemCount index = 0; index < MIDIGetNumberOfDestinations(); ++index)
{
MIDIEndpointRef outputEndpoint = MIDIGetDestination(index);
if (outputEndpoint) {MIDIFlushOutput(outputEndpoint); }
}
}
Not working, the sended notes still playing after flush. Any ideas ?
The text was updated successfully, but these errors were encountered: