ioap_hf_set_log_level()

Set the verbosity level for the handsfree acoustic processing logs.

Synopsis:

#include <acoustic/hf.h>

int ioap_hf_set_log_level(int apd, int* level) ;

Arguments:

apd
The handle to io-acoustic.
level
Pointer to the location where the log level is stored.

Library:

libacoustic

Description:

The ioap_hf_set_log_level() function sets the verbosity of the acoustic echo cancellation logs.

The default verbosity is IOAP_LOG_ERROR. You can change this verbosity by editing the configuration file, by using the -v option when starting io-acoustic, or by calling ioap_hf_set_log_level().

You can check the current verbsoity level by calling ioap_hf_get_log_level().

Returns:

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

Errors:

EINVAL
Invalid handle or null pointer argument .

Classification:

QNX Neutrino

Safety:  
Interrupt handler No
Signal handler No
Thread Yes