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 protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/coreaudio-api/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to