Enable plugins that have been disabled
#include <sys/asoundlib.h> unsigned int snd_pcm_plugin_set_enable( snd_pcm_t *pcm, unsigned int mask );
Use the -l asound option to qcc to link against this library.
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.
The value of the plugin mask before this change was made.
|Thread||Read the Caveats|
This function is not thread safe if pcm (snd_pcm_t) is used across multiple threads.
Last modified: 2014-06-24