Retrieve an audioman handle that's bound to a PCM stream
#include <sys/asoundlib.h> int snd_pcm_get_audioman_handle( snd_pcm_t *handle, unsigned int *audioman_handle );
The snd_pcm_get_audioman_handle() function retrieves an audioman handle that's bound to a PCM stream. Binding an audioman handle to a PCM stream results in the PCM stream's conditionally ducking behind other streams, depending on the type of other stream playing.
EOK on success, a negative errno upon failure. The errno values are available in the errno.h file.
QNX Neutrino
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | Yes |
Thread | Read the Caveats |
This function is not thread safe if handle(snd_pcm_t) is used across multiple threads.