Set PCM communication parameters
#include <sys/asoundlib.h>
int snd_pcm_plugin_params( snd_pcm_t * handle,
snd_pcm_channel_params_t * params );
libasound.so
The snd_pcm_plugin_params() function sets up the transfer parameters according to params.
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 |