• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
kAUPresetExternalFileRefs string representations
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Prev by Date: Re: Paremeter changes by the user
  • Next by Date: Re: ChannelMap and SampleRate change weirdness
  • Previous by thread: GetComponentListModSeed and AU?
  • Next by thread: Re: kAUPresetExternalFileRefs string representations
  • Index(es):
    • Date
    • Thread