Mailing Lists: Apple Mailing Lists

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

Re: component; scom and aenc




On Mar 29, 2007, at 6:54 PM, Takashi Mochizuki wrote:

Hello.

I am confused with sound / audio compressor component.
I want to get list of compressor component. but after some test, found:


* kAudioFormatProperty_EncodeFormatIDs is not equal to scom+aenc components.
* kAudioFormatProperty_FormatName is different from GetComponentInfo's name

That's correct. Some of the scom's are culled from the list because they are a subset of 'lpcm' (fl32, fl64, in24, in32, sowt, twos).



What caused such differences? There seems to be also text encoding issue...(tm or micro mark is not ascii characters)


//

If I use FindNextComponent() with kSoundCompressor;
 scom/MAC3/appl/MACE 3:1
 scom/MAC6/appl/MACE 6:1
 scom/QDM2/QDes/QDesign Music 2
 scom/Qclp/QCOM/Qualcomm PureVoice™
 scom/alac/appl/Apple Lossless
 scom/alaw/appl/ALaw 2:1
 scom/fl32/appl/32-bit Floating Point
 scom/fl64/appl/64-bit Floating Point
 scom/ima4/appl/IMA 4:1
 scom/in24/appl/24-bit Integer
 scom/in32/appl/32-bit Integer
 scom/mp4a/appl/MPEG-4 Audio
 scom/samr/appl/AMR Narrowband
 scom/sowt/appl/16-bit Little Endian
 scom/twos/appl/16-bit Big Endian
 scom/ulaw/appl/µLaw 2:1

If I use FindNextComponent() with kAudioEncoderComponentType;
 aenc/aac /appl/MPEG-4 AAC Encoder
 aenc/alac/appl/Apple Lossless Encoder
 aenc/ima4/appl/Apple IMA4 Encoder
 aenc/samr/appl/AMR Encoder

Note that when you use AudioConverter or SCAudio, it will prefer aenc's over scom's when an aenc is present for the desired compression format.



But when I use AudioFormatGetProperty with kAudioFormatProperty_EncodeFormatIDs;
{formatID = MAC3; name = "MACE 3:1"; },
{formatID = MAC6; name = "MACE 6:1"; },
{formatID = QDM2; name = "QDesign Music 2"; },
{formatID = Qclp; name = "Qualcomm PureVoice\U2122"; },
{formatID = "aac "; name = AAC; },
{formatID = alac; name = "Apple Lossless"; },
{formatID = alaw; name = "A-Law 2:1"; },
{formatID = ima4; name = "IMA 4:1"; },
{formatID = lpcm; name = "Linear PCM"; },
{formatID = samr; name = "AMR Narrowband"; },
{formatID = ulaw; name = "\U03bc-Law 2:1"; }

What text encoding are you using to print these out? Do you still get these problems if you use UTF8?


-Brad Ford
QuickTime Engineering _______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-API mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quicktime-api/email@hidden

This email sent to email@hidden
References: 
 >component; scom and aenc (From: Takashi Mochizuki <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.