![]() |
![]() |
![]() |
Read pending control events
#include <sys/asoundlib.h> int snd_ctl_read( snd_ctl_t * handle, snd_ctl_callbacks_t * callbacks );
libasound.so
The snd_ctl_read() function reads pending control events from the control handle. As each event is read, the list of callbacks is checked for a handler for this event. If a match is found, the callback is invoked. This function is usually called on the return of the select() library call.
The number of events read form the handle, or a negative value on error.
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | Yes |
Thread | Yes |
![]() |
![]() |
![]() |