snd_pcm_plugin_get_inactive()

Determine which plugins are disabled (inactive)

Synopsis:

#include <sys/asoundlib.h>

unsigned int snd_pcm_plugin_get_inactive(snd_pcm_t *pcm);

Since:

BlackBerry 10.3.0

Arguments:

pcm
A handle that's returned by snd_pcm_open_* functions.

Library:

libasound.so

Use the -l asound option to qcc and link against this library.

Description:

Some plugins can become disabled (inactive) when OS doesn't support the current hardware configuration. Typically, deactivation can occur when audio is configured to autoroute from one piece of hardware(device) to another.

Returns:

A bitmask that represents the plugins that are disabled.

Classification:

QNX Neutrino

Safety:  
Cancellation point No
Interrupt handler No
Signal handler Yes
Thread Read the Caveats

Caveats:

This function is not thread safe if pcm (snd_pcm_t) is used across multiple threads.