Handsfree telephony acoustic processing uses a number of pre-defined type definitions.
Limits
Type definitions used by acoustic processing include:
- IOAP_MAX_DEVICES
4
- Maximum number of devices.
- IOAP_MAX_DEVICE_IO
4
- Maximum number of device inputs or outputs.
- IOAP_MAX_DEVICE_PATH
128
- Maximum device path length.
Direction of acoustic processing
- IOAP_OUTPUT
1u
- Output direction.
- IOAP_INPUT
2u
- Input direction.
Input and output channel routing masks
Routing masks are used to manage acoustic processing input and output channels.
- IOAP_MIC_IN_1
0x00000001u
- First microphone input channel.
- IOAP_MIC_IN_2
0x00000002u
- Second microphone input channel.
- IOAP_REF_IN_1
0x00000010u
- First reference input channel.
- IOAP_PHONE_IN_1
0x00000100u
- First phone input channel.
- IOAP_SPKR_OUT_1
0x00001000u
- First speaker output channel.
- IOAP_PHONE_OUT_1
0x00010000u
- First phone output channel.
Actions
- IOAP_OFF
0
- Disable.
- IOAP_ON
1
- Enable.
- IOAP_NOCHANGE
-1
- Make no changes.
Logging verbosity levels
- IOAP_LOG_SHUTDOWN 0
- Shutdown (not used)
- IOAP_LOG_CRITICAL 1
- Critical (not used)
- IOAP_LOG_ERROR 2
- Error
- IOAP_LOG_WARNING 3
- Warning
- IOAP_LOG_NOTICE 4
- Notice (not used)
- IOAP_LOG_INFO 5
- Information
- IOAP_LOG_DEBUG1 6
- Debug detail.
- IOAP_LOG_DEBUG2 7
- Debug fine detail.
- IOAP_LOG_DEBUG3 8
- Debug even finer detail.