[Previous] [Contents] [Next]

snd_pcm_plugin_params()

Set PCM communication parameters

Synopsis:

#include <sys/asoundlib.h>

int snd_pcm_plugin_params( snd_pcm_t * handle, 
                           snd_pcm_channel_params_t * params );

Library:

libasound.so

Description:

The snd_pcm_plugin_params() function sets up the transfer parameters according to params.

Errors:

-EINVAL
Invalid handle; the data pointer is NULL, or the format is unsupported.

Examples:

See the example in Configuring the audio channel in the Playing audio data chapter.

Classification:

ALSA

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

[Previous] [Contents] [Next]