snd_pcm_plugin_set_src_method()

Set the system's source filter method (plugin-aware)

Synopsis:

#include <sys/asoundlib.h>

unsigned int snd_pcm_plugin_set_src_method (
                snd_pcm_t *handle,
                unsigned int method );

Arguments:

handle
The handle for the PCM device, which you must have opened by calling snd_pcm_open() or snd_pcm_open_preferred().
method
The filter that you want to use:

Library:

libasound.so

Description:

The snd_pcm_plugin_set_src_method() function sets the source filter method. If you want to set this method, do so before you call snd_pcm_plugin_params(), so that the plugin can be properly initialized (including the filters).

Returns:

The current method.

Classification:

QNX Neutrino

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

Caveats:

Make sure that you don't mix and match plugin- and nonplugin-aware functions in your application, or you may get undefined behavior and misleading results.

See also:

snd_pcm_plugin_params()