RE: coreaudio-api digest, Vol 1 #70 - 2 msgs
RE: coreaudio-api digest, Vol 1 #70 - 2 msgs
- Subject: RE: coreaudio-api digest, Vol 1 #70 - 2 msgs
- From: "Sven Duwenhorst" <email@hidden>
- Date: Wed, 22 Aug 2001 09:08:50 +0200
Hi,
I'm trying to use CoreMidi from a CFM app. Some of your constants are
external, eg. kMIDIPropertyName is external CFStringRef. How can I access
those external data?
Following code doesn't work and crashes in MIDIObjectGetStringProperty:
kMIDIPropertyName = (CFStringRef)
CFBundleGetDataPointerForName(m_coreMidiBundle, CFSTR("kMIDIPropertyName"));
MIDIObjectGetStringProperty(dev, kMIDIPropertyName, &pname);
CFBundleGetDataPointerForName seems to return a valid pointer.
Best,
Sven
***************************** TC|WORKS *******************************
TC Works Soft- & Hardware GmbH
Flughafenstrasse 52B * D22335 Hamburg * Germany
<
http://www.tcworks.de/>
******************* A TC Electronic company **********************