The Core Audio File format encoding mode used during recording, exporting or CD ripping sessions.
Supported values are the following:
Mnemonic Value
|
Numeric value
|
Meaning
|
CAF_ENCODE_PCM_S8
|
0
|
CAF PCM 8 bits Signed
|
CAF_ENCODE_PCM_S16
|
1
|
CAF PCM 16 bits Signed
|
CAF_ENCODE_PCM_S24
|
2
|
CAF PCM 24 bits Signed
|
CAF_ENCODE_PCM_S32
|
3
|
CAF PCM 32 bits Signed
|
CAF_ENCODE_FLOAT32
|
4
|
CAF 32 bits floating point
|
CAF_ENCODE_G711_ULAW
|
5
|
CAF G711 U-LAW
|
CAF_ENCODE_G711_ALAW
|
6
|
CAF G711 A-LAW
|
This property is used only in the following situations:
During a recording session if the EncodeFormats.ForRecording property is set to ENCODING_FORMAT_CAF (for further details see the How to perform a recording session section).
During a CD ripping session if the EncodeFormats.ForCdRipping property is set to ENCODING_FORMAT_CAF (for further details see the How to perform a CD ripping session section).
During an exporting session if the EncodeFormats.ForExporting property is set to ENCODING_FORMAT_CAF (for further details see the How to export a recorded sound section).
For further details about encoding in Core Audio File format refer to the CAF object section.
For further information about available encoding formats see the EncodeFormats object.
|