How to unschedule MIDIReceived messages from a virtual source
How to unschedule MIDIReceived messages from a virtual source
- Subject: How to unschedule MIDIReceived messages from a virtual source
- From: Igor Clark <email@hidden>
- Date: Wed, 09 May 2018 11:08:07 +0100
Hi list,
I have a virtual MIDI source SourceEndpointRef created with
MIDICreateSource. I'm using it to batch-transmit a bunch of generated
messages to listening clients by sending MIDIPacketLists via
MIDIReceived(). Works great.
I want to cancel/unschedule the previously-sent batches when certain
factors change and a new batch is generated, but MIDIFlushOutput(
SourceEndpointRef ) returns -10832, kMIDIWrongEndpointType ("A source
endpoint was passed to a function expecting a destination, or vice versa").
Is there a counterpart function or an alternative mechanism for
unscheduling messages previously scheduled by MIDIReceived?
Thanks,
Igor
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden