• 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
Re: aupreset file question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: aupreset file question


  • Subject: Re: aupreset file question
  • From: Robert Grant <email@hidden>
  • Date: Wed, 13 Oct 2004 17:59:01 -0400

Doing some sleuthing in AUBase I find:

static void AddNumToDictionary (CFMutableDictionaryRef dict, CFStringRef key, SInt32 value)
{
CFNumberRef num = CFNumberCreate (NULL, kCFNumberSInt32Type, &value);
CFDictionarySetValue (dict, key, num);
CFRelease (num);
}


.
.
.
	value = desc.componentType;
	AddNumToDictionary (dict, kTypeString, value);

Which makes me think that they should *always* be integers and therefore the Atmosphere aupreset files are non-standard?

Robert.

On Oct 13, 2004, at 5:04 PM, Robert Grant wrote:

Got a user trying to save Atmosphere presets in Rax and it's writing the manufacturer, type and subtype info in a different way than I expected.

I thought these were to be encoded as integers, e.g.:

	<key>manufacturer</key>
	<integer>1430808152</integer>

But Atmosphere is encoding them as strings:

	<key>manufacturer</key>
	<string>JKdH</string>

Rax thinks that these are not compatible presets and so prevents the user from reloading them.

What's the correct way to encode this info? Or are both correct?

Thanks,

Robert.

_______________________________________________
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

_______________________________________________ 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
  • Follow-Ups:
    • Re: aupreset file question
      • From: William Stewart <email@hidden>
References: 
 >aupreset file question (From: Robert Grant <email@hidden>)

  • Prev by Date: aupreset file question
  • Next by Date: Re: I/O Latency (Was: Layman with a mission)
  • Previous by thread: aupreset file question
  • Next by thread: Re: aupreset file question
  • Index(es):
    • Date
    • Thread