AU version hex format
AU version hex format
- Subject: AU version hex format
- From: Marc Poirier <email@hidden>
- Date: Mon, 25 Aug 2003 13:39:15 -0500 (CDT)
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
where M = major, m = minor, and b = bugfix. So in other words, if my
version was 3.1.2, I would use 0x00030102. But I can't seem to remember
where I ever saw that, if I even actually did. But then according to the
Component Manager docs, version values should be:
0xMMMMmmmm
Which is true? 0xMMMMmmmm seems crummy to me because then you get no
bugfix value, but either way, I guess I'm just wondering which it
officially is. I told a host maker that it was 0xMMMMmmbb, but then he
told me that the CM docs said 0xMMMMmmmm and that my AUs were the only
ones he found that used the 0x0000XX00 bytes at all. But then I was
running some AUs through AUValidation which outputs stuff like this:
AU Component Version: 1.0.2 (0x10002)
AU Component Version: 1.1.0 (0x10100)
which agrees with my understanding of version values being 0xMMMMmmbb.
So I'm just not sure at all and was hoping for some confirmation.
Thanks,
Marc
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.