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