Re: kAUPresetExternalFileRefs string representations
Re: kAUPresetExternalFileRefs string representations
- Subject: Re: kAUPresetExternalFileRefs string representations
- From: Marc Poirier <email@hidden>
- Date: Fri, 18 Jun 2004 16:30:35 -0400 (EDT)
I don't want to be a pest, but I'm really really hoping to get an answer
on this soon. Does anyone know? I would like to release a plugin today
that uses this feature, and I don't want to get it wrong and break the
feature...
thanks,
Marc
On Thu, 17 Jun 2004, Marc Poirier wrote:
>
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.