• 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: 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

References: 
 >Re: aupreset file question (From: Robert Grant <email@hidden>)

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