snd_pcm_plugin_set_enable()

Enable plugins that have been disabled

Synopsis:

#include <sys/asoundlib.h>

unsigned int snd_pcm_plugin_set_enable( snd_pcm_t *pcm,
                                        unsigned int mask );

Arguments:

pcm
The handle for the PCM device, which you must have opened by calling snd_pcm_open_name(), snd_pcm_open(), or snd_pcm_open_preferred().
mask
A bitset of the sets you want to disable.

Library:

libasound.so

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

Description:

The snd_pcm_plugin_set_enable() function enables plugins that have been disabled. Currently there is one disabled plugin: PLUGIN_ROUTING. Enabling this will cause automatic routing to external devices for a client that connects to the "pcmPreferred" device.

Returns:

The value of the plugin mask before this change was made.

Classification:

QNX Neutrino

Safety:  
Cancellation point No
Interrupt handler No
Signal handler Yes
Thread Yes