Re: Still Confused about kMIDIPropertyReceiveChannels
Re: Still Confused about kMIDIPropertyReceiveChannels
- Subject: Re: Still Confused about kMIDIPropertyReceiveChannels
- From: Jeremy Sagan <email@hidden>
- Date: Wed, 3 Mar 2004 22:22:47 -0500
Doug,
On Wednesday, March 3, 2004, at 08:58 PM, Doug Wyatt wrote:
Very few of CoreMIDI's properties are guaranteed to be set on any
given object -- if one doesn't, your code should make the smallest and
least restrictive assumption. In the case of the receive channels
property, it's least restrictive to assume that the device receives on
all channels.
Also, if you have both a MIDI interface (driver device) endpoint and
an extenal device endpoint, generally you'll want to look at the
external device's endpoint, since that's where the user will have set
properties in AMS -- if he set anything at all.
This is what I don't understand. Is it possible that the user can set
up all the channels on the external device endpoint and still CoreMIDI
will return an error when the application tries to look at it?
Jeremy
Doug
On Mar 3, 2004, at 14:49, Jeremy Sagan wrote:
Using Panther and MIDIman MIDISport 1x1 or 2x2 interface connected to
an Korg X5D or X5DR the following call returns an error:
stat = MIDIObjectGetIntegerProperty(endp,
kMIDIPropertyReceiveChannels, &chanMask);
The endpoint endp is obtained via this call:
if (MIDIObjectFindByUniqueID(thePtr[uniq], &object, &mot) ==
noErr)
{
endp = object;
}
Which is successful.
Why does kMIDIPropertyReceiveChannels return an error? Is this a
driver issue? The receive channels is totally configurable under the
port for the X5DR in AMS so I don't understand why I cannot read it.
Thanks,
Jeremy
_______________________________________________
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.
_______________________________________________
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.