snd_pcm_plugin_set_disable()

Disable PCM plugins

Synopsis:

#include <sys/asoundlib.h>

unsigned int snd_pcm_plugin_set_disable( 
                            snd_pcm_t *pcm, 
                            unsigned int plugins );

Arguments:

pcm
The handle for the PCM device, which you must have opened by calling snd_pcm_open() or snd_pcm_open_preferred().
plugins
A bitmap of the plugins that you want to disable; a bitwise OR of zero or more of the following (which are the plugins that are currently enabled by default):

Library:

libasound.so

Description:

You can use snd_pcm_plugin_set_disable() to disable plugins that are ordinarily used in the plugin chain. You must do so before calling snd_pcm_plugin_params().

Returns:

A copy of the plugins argument.


Note: This function doesn't return a negative error code the way that other snd_pcm_*() functions do.

Examples:

See the wave.c example in the appendix.

Classification:

QNX Neutrino

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

See also:

snd_pcm_channel_status_t, snd_pcm_plugin_read(), snd_pcm_plugin_write()