ssize_t snd_pcm_plugin_write(snd_pcm_t *handle, const void *buffer, size_t size);
ssize_t snd_pcm_plugin_write
Writes samples to the device which must be in the proper format specified by snd_pcm_plugin_prepare function. This function is similar to snd_pcm_write.