Get the audio streams that are active
#include <sys/asoundlib.h> int snd_ctl_ducking_read(snd_ctl_t *handle, const char* ducking_output, snd_ducking_status_t **info );
This function is deprecated. Use snd_ctl_ducking_status_read() instead.
The snd_ctl_ducking_read() function reads the current ducking status. Use this function to get information about what audio types are active after you receive a SND_CTL_READ_AUDIOMGMT_CHG event in an audiomgmt callback.
The file descriptor of the connection to the control interface, or a negative value if an error occurs.
QNX Neutrino
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | Yes |
Thread | Yes |