ioap_hf_get_log_level()

Get the verbosity level for the handsfree acoustic processing logs.

Synopsis:

#include <acoustic/hf.h>

int ioap_hf_get_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_get_log_level() function retrieves the current verbosity of the handsfree acoustic processing logs.

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

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