[Previous] [Contents] [Index] [Next]

Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

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 mask );

Arguments:

pcm
The handle for the PCM device, which you must have opened by calling snd_pcm_open() or snd_pcm_open_preferred().
mask
Currently, only the following mask bits are supported:

Library:

libasound.so

Description:

The snd_pcm_plugin_set_disable() function is used to disable various plugins that would ordinarily be used in the plugin chain.

Returns:

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

Examples:

See the wave.c example in the appendix.

Classification:

QNX Neutrino

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

Caveats:

The plugin disable mask has to be set before calling snd_pcm_plugin_params() for it to take effect.

See also:

snd_pcm_channel_status_t, snd_pcm_plugin_read(), snd_pcm_plugin_write()


[Previous] [Contents] [Index] [Next]