snd_ctl_ext_t Struct Reference
[External Control Plugin SDK]


Data 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_tcallback
void * private_data
snd_ctl_thandle
int nonblock
int subscribed
union {
   snd_ctl_ext_tlv_rw_t *   c
   const unsigned int *   p
tlv

Detailed Description

Handle of control ext

External control plugin handle


Field Documentation

callbacks of this plugin; must be filled before calling snd_pcm_ioplug_create()

Index of this card; must be filled before calling snd_ctl_ext_create()

Driver name of this card; must be filled before calling snd_ctl_ext_create()

control handle filled by snd_ctl_ext_create()

ID string of this card; must be filled before calling snd_ctl_ext_create()

Long name of this card; must be filled before calling snd_ctl_ext_create()

Mixer name of this card; must be filled before calling snd_ctl_ext_create()

short name of this card; must be filled before calling snd_ctl_ext_create()

non-block mode; read-only

poll descriptor

private data, which can be used freely in the driver callbacks

events subscribed; read-only

union { ... } snd_ctl_ext_t::tlv

optional TLV data for the control (since protocol 1.0.1)

unsigned int snd_ctl_ext_t::version

protocol version; SND_CTL_EXT_VERSION must be filled here before calling snd_ctl_ext_create()


The documentation for this struct was generated from the following file:

doxygen