Re: aupreset file question
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