Re: aupreset file question
Re: aupreset file question
- Subject: Re: aupreset file question
- From: William Stewart <email@hidden>
- Date: Wed, 13 Oct 2004 16:14:51 -0700
Yes - atmosphere would also fail auval this way as well
Bill
On 13/10/04 2:59 PM, "Robert Grant" <email@hidden> wrote:
> 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
--
mailto:email@hidden
tel: +1 408 974 4056
__________________________________________________________________________
Culture Ship Names:
Ravished By The Sheer Implausibility Of That Last Statement [GSV]
I said, I've Got A Big Stick [OU]
Inappropiate Response [OU]
Far Over The Borders Of Insanity And Still Accelerating [Eccentric]
__________________________________________________________________________
_______________________________________________
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