Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AU Version Info in QA 1408



Hi -

I just checked out this new QA about getting an AU's version:

http://developer.apple.com/qa/qa2005/qa1408.html

I think it would be useful to update this QA with info on what exactly the format of the version number is, i.e.:

- Format is 0xMMMMmmbb
- The M/m/b numbers are specified in *BCD*

Below is an old email thread on this for reference.

Jim

-----

From: William Stewart <email@hidden>
Subject: Re: AU version hex format
Date: Fri, 10 Oct 2003 17:58:00 -0700
To: William Stewart <email@hidden>

After some further discussions we decided to use BCD for numbers
greater than 9. Thus, 10.3.1 would be:
0x100301

2.3.1 would of course be the same in either case:
0x20301

Sorry for the confusion

Bill

On 10/10/2003, at 12:55 PM, William Stewart wrote:

> We're using straight Hex: Thus 2.3.1 would be:
> 0x20301
>
> The Validation tool will try to print out the version in this format -
> and checks that the number returned from the component resource is the
> same as the number returned from the GetComponentVersion API call (but
> it doesn't do any pass/fail logic on the format of these numbers)
>
> Bill
>
> On 09/10/2003, at 11:49 PM, Jim Wintermyre wrote:
>
>> Reviewing some earlier discussion on this, I came across the
>> following response from Bill to Marc:
>>
>>> > I was wondering, is it explained anywhere what exactly the format
>>> for
>>> > Audio Unit version values should be? I mean the value in the
>>> 'thng'
>>> > resource and returned by the Version component selector. For some
>>> > reason,
>>> > I was under the impression that the format was like this:
>>> >
>>> > 0xMMMMmmbb
>>>
>>> This is the format that we are using
>>
>> I have a question. Is this similar to the old 'vers' format where
>> the M/m/b numbers are actually in *BCD*? Should our component
>> version numbers be BCD or straight hex?
>>
>> Thanks,
>> Jim
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/coreaudio-api/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.