snd_afm_start()
Start AFM processing
Synopsis:
#include <sys/asoundlib.h>
int snd_afm_start( snd_afm_t *handle );
Arguments:
- handle
- The handle for the AFM device, which you must have opened by calling snd_afm_open_name() or snd_afm_open().
Library:
libasound
Use the -l asound option with qcc to link against this library.
Description:
Note:
This function can only be used if you have QNX Acoustic Management Platform 3.0 installed.
The snd_afm_start() function starts AFM audio or ACS link processing.
Returns:
EOK on success, or a negative errno value upon failure.
This function can also return the return values of devctl() (see devctl() in the QNX Neutrino C Library Reference).
Errors:
- -EBUSY
- One of the following:
- The AFM or ACS link has already been started.
- -EINVAL
- The value of handle is NULL.
Classification:
| Safety: | |
|---|---|
| Cancellation point | Yes |
| Interrupt handler | No |
| Signal handler | Yes |
| Thread | Yes |
Caveats:
This function is not thread safe if the handle (snd_afm_t) is used across multiple threads.
Page updated:
