struct snd_ctl_ext
Overview
Handle of control ext
External control plugin handle Moreā¦
#include <control_external.h> struct snd_ctl_ext { // fields unsigned int version; int card_idx; char id[16]; char driver[16]; char name[32]; char longname[80]; char mixername[80]; int poll_fd; const snd_ctl_ext_callback_t* callback; void* private_data; snd_ctl_t* handle; int nonblock; int subscribed; snd_ctl_ext_tlv_rw_t* c; const unsigned int* p; union snd_ctl_ext::@7 tlv; };
Detailed Documentation
Handle of control ext
External control plugin handle
Fields
unsigned int version
protocol version; SND_CTL_EXT_VERSION must be filled here before calling snd_ctl_ext_create()
int card_idx
Index of this card; must be filled before calling snd_ctl_ext_create()
char id[16]
ID string of this card; must be filled before calling snd_ctl_ext_create()
char driver[16]
Driver name of this card; must be filled before calling snd_ctl_ext_create()
char name[32]
short name of this card; must be filled before calling snd_ctl_ext_create()
char longname[80]
Long name of this card; must be filled before calling snd_ctl_ext_create()
char mixername[80]
Mixer name of this card; must be filled before calling snd_ctl_ext_create()
int poll_fd
poll descriptor
const snd_ctl_ext_callback_t* callback
callbacks of this plugin; must be filled before calling snd_pcm_ioplug_create()
void* private_data
private data, which can be used freely in the driver callbacks
snd_ctl_t* handle
control handle filled by snd_ctl_ext_create()
int nonblock
non-block mode; read-only
int subscribed
events subscribed; read-only
unnamed-union tlv
optional TLV data for the control (since protocol 1.0.1)