• 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
UTI for aupreset files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

UTI for aupreset files


  • Subject: UTI for aupreset files
  • From: Marc Poirier <email@hidden>
  • Date: Mon, 3 Oct 2005 16:17:15 -0400

I need a UTI to use for aupreset files. Is there going to be one declared by Apple? As of Mac OS X 10.4.2, if I do this:

UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, CFSTR("aupreset"), NULL);

I get a dynamic UTI as a result.

There should be something like this in /System/Library/CoreServices/ CoreTypes.bundle/Contents/Info.plist (or perhaps there's somewhere else more appropriate):

    <key>UTExportedTypeDeclarations</key>
    <array>
        <dict>
            <key>UTTypeIdentifier</key>
            <string>com.apple.aupreset</string>
            <key>UTTypeConformsTo</key>
            <array>
                <string>public.xml</string>
            </array>
            <key>UTTypeDescription</key>
            <string>Audio Unit preset</string>
            <key>UTTypeIconFile</key>
            <string>aupreset.icns</string>
            <key>UTTypeTagSpecification</key>
            <key>public.filename-extension</key>
            <array>
                <string>aupreset</string>
            </array>
        </dict>
    </array>

and then hopefully have a public constant added to LaunchServices/ UTCoreTypes.h as well.

Is this going to be done? Or in the meantime, should I add something similar (but an "imported" declaration instead) to an application of mine? If so, is it fine to bank on com.apple.aupreset or should I define a proprietary UTI (and in that case, then I guess export it)?

thanks,
Marc
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: practical use of UID for USB devices
  • Next by Date: vDSP_destroy_fftsetupD
  • Previous by thread: Re: IMPORTANT: Tiger SU Problem
  • Next by thread: vDSP_destroy_fftsetupD
  • Index(es):
    • Date
    • Thread