ioap_hf_config()

Set the next tuning file to use for initializing handsfree processing.

Synopsis:

#include <acoustic/hf.h>

int ioap_hf_config(int adp,
                const char* filename);

Arguments:

apd
The handle returned by ioap_hf_attach() when it attaches to a process to io-acoustic.
filename
Path to the next acoustic processing tuning file to use.

Library:

libacoustic

Description:

The ioap_hf_config() function sets the next tuning file to use for initializing handsfree processing.

Returns:

0
Success
-1
An error occurred (errno is set).

Errors:

EINVAL
Invalid handle or null pointer argument. If there is an issue loading the tuning file, an error is sent through notification events.
ENOMEM
Could not allocate memory to backup tuning file name.

Classification:

QNX Neutrino

Safety:  
Interrupt handler No
Signal handler No
Thread Yes