Disable plugins
#include <sys/asoundlib.h>
unsigned int snd_pcm_plugin_set_disable(
snd_pcm_t * pcm,
unsigned int mask );
libasound.so
The snd_pcm_plugin_set_disable() function is used to disable various plugins that would ordinarily be used in the plugin chain.
Currently, only the following mask bits are supported:
The value of the plugin mask before this change was made.
None.
See the example in Configuring the audio channel in the Playing audio data chapter.
| Safety: | |
|---|---|
| Cancellation point | No |
| Interrupt handler | No |
| Signal handler | Yes |
| Thread | Yes |
The mask has to be set before calling snd_pcm_plugin_params()