kAUPresetExternalFileRefs string representations
kAUPresetExternalFileRefs string representations
- Subject: kAUPresetExternalFileRefs string representations
- From: Marc Poirier <email@hidden>
- Date: Thu, 17 Jun 2004 17:49:47 -0400 (EDT)
In AUPresetsAndFileReferences.rtf, it says to use CFStrings instead of
CFURLs for kAUPresetExternalFileRefs in ClassInfo. However, it does not
say what kind of CFString representations to store. I can think of 2
distinctly different approaches that could be taken, and since hosts are
expected to be able to interpret this AU state data as well as the plugin,
it seems like this should done one consistent way, so I wanted to get that
clarified if possible.
1) You could fetch a CFURL's string using CFURLGetString() and then
convert it back to a CFURL using CFURLCreateWithString().
or
2) You could fetch the URL's string using CFURLCopyFileSystemPath() and
then convert it back to a CFURL using CFURLCreateWithFileSystemPath().
Each will result in different CFStrings, so which should we do? And if
the answer CFURL*FileSystemPath(), then which CFURLPathStyle should we
use?
thanks,
Marc
_______________________________________________
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.