Bind an audioman handle to a PCM stream
#include <sys/asoundlib.h> int snd_pcm_set_audioman_handle( snd_pcm_t *handle, unsigned int audioman_handle );
The snd_pcm_set_audioman_handle() function binds an audioman handle 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. Rebinding a PCM stream to a new handle is permitted; doing so automatically unbinds the old handle. Binding the same audioman handle to two PCM streams isn't permitted.
This function can also return the negative of other errno values.
QNX Neutrino
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | Yes |
Thread | Yes |