Re: MIDI driver monitoring -- bad destination?
Re: MIDI driver monitoring -- bad destination?
- Subject: Re: MIDI driver monitoring -- bad destination?
- From: Kurt Revis <email@hidden>
- Date: Sat, 9 Mar 2002 23:49:48 -0800
Answering my own question...
On Thursday, March 7, 2002, at 11:22 PM, Kurt Revis wrote:
Has anyone tried using the monitoring function in a CoreMIDI driver
(that is, implemented a Monitor() function on their driver)?
I am finding that the MIDIEndpointRef passed in as a destination is not
a real MIDIEndpointRef that I can use in other CoreMIDI calls.
I figured out that the Monitor() function is being given a *pointer* to
the MIDIEndpointRef instead of a real MIDIEndpointRef, in violation of
the function's declaration. Casting the given value to a
(MIDIEndpointRef *) and dereferencing it gives me the real
MIDIEndpointRef.
Filed as bug #2877457.
--
Kurt Revis
email@hidden
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.