Set hardware device routing to acoustic processing input and output.
#include <acoustic/acoustic.h>
typedef struct ioap_device {
char path[IOAP_MAX_DEVICE_PATH];
uint32_t nchannels;
uint32_t route[IOAP_MAX_DEVICE_IO];
} ioap_device_t;
libacoustic
The structure defines a single hardware device, and the routing of a single hardware device's inputs and outputs to the corresponding acoustic processing inputs and outputs.
| Member | Type | Description |
|---|---|---|
| path | char | The path to the device; null-terminated; IOAP_MAX_DEVICE_PATH. |
| nchannels | uint32_t | The number of populated routes in route; must be 1 or 2. |
| route | uint32_t | The routing for a device channel to the corresponding acoustic processing input or output channel (one of IOAP_MIC_IN_1, IOAP_MIC_IN_2, etc.). The number populated is specified by nchannels; IOAP_MAX_DEVICE_IO |
For more information about routing, see ioap_hf_route().
QNX Neutrino