Transfer PCM stream from capture subdevice
#include <sys/asoundlib.h>
ssize_t snd_pcm_plugin_read( snd_pcm_t * handle,
void * buffer,
size_t size );
libasound.so
The snd_pcm_plugin_read() function reads samples from the device which must be in the proper format specified by snd_pcm_channel_prepare(). This function is similar to snd_pcm_write().
| Safety: | |
|---|---|
| Cancellation point | No |
| Interrupt handler | No |
| Signal handler | Yes |
| Thread | Yes |