Open a connection to the io-acoustic handsfree module.
Synopsis:
#include <acoustic/hf.h>
int ioap_hf_attach(const char* path_mgr);
Arguments:
- path_mgr
- Path to the instance of io-acoustic to which to attach. NULL
defaults to the standard location for io-acoustic. Pass NULL
unless io-acoustic isn't installed in its default location, or there are
multiple instances of io-acoustic available.
Description:
The
ioap_hf_attach() function attaches an instance of io-acoustic
for use with handsfree acoustic processing.
Returns:
- >0
- Success: a handle for the attached io-acoustic.
- -1
- An error occurred (errno is set).
Errors:
- EINVAL
- Invalid argument.
Classification:
QNX Neutrino
Safety: |
|
Interrupt handler |
No |
Signal handler |
No |
Thread |
Yes |