AudioMIDI Setup endpoint names
AudioMIDI Setup endpoint names
- Subject: AudioMIDI Setup endpoint names
- From: brucecoughlin <email@hidden>
- Date: Thu, 11 Dec 2003 22:33:27 -0500
Sorry if this has been asked before.
I used to use:
result = MIDIObjectGetDataProperty (theMIDIEndpoint,
kMIDIPropertyConnectionUniqueID, &externalIDs);
if (result == noErr) {
int i;
for (i = 0; i < CFDataGetLength (externalIDs); i += 4) {
SInt32 externalID;
CFDataGetBytes (externalIDs, CFRangeMake (i, 4), (UInt8*)&externalID);
if (externalID != 0) {
result = MIDIObjectFindByUniqueID (externalID, &externalDevice,
&deviceType);
result = MIDIObjectGetStringProperty (externalDevice,
kMIDIPropertyName, &externalName);
CFArrayAppendValue(names,externalName);
CFRelease (externalName);
}
}
to get the names of synths, etc attached to a MIDI Interface using the names
from AudioMIDI Setup.
This appears to no longer work under Panther... Any hints on how to fix
this?
Thanks
_______________________________________________
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.