Define handsfree module routing setup.
#include <acoustic/acoustic.h>
typedef struct ioap_io_map {
ioap_io_map_t mapin;
ioap_io_map_t mapout;
} ioap_io_map_t;
libacoustic
The ioap_io_map_t structure specifies a list of hardware devices and the mapping of their inputs or outputs to the corresponding acoustic processing inputs or outputs. For more information about routing, see ioap_hf_route().
| Member | Type | Description |
|---|---|---|
| direction | uint32_t | Direction, either input (IOAP_INPUT) or output (IOAP_OUTPUT). |
| ndevices | uint32_t | The number of populated devices in devicelist. |
| devicelist [IOAP_MAX_DEVICES] |
ioap_device_t | Array of devices. The number of populated devices, is specified by ndevices. See ioap_hf_route() for routing rules. |
QNX Neutrino