snd_pcm_ioplug_callback Struct Reference
[External I/O plugin SDK]


Data Fields

int(* start )(snd_pcm_ioplug_t *io)
int(* stop )(snd_pcm_ioplug_t *io)
snd_pcm_sframes_t(* pointer )(snd_pcm_ioplug_t *io)
snd_pcm_sframes_t(* transfer )(snd_pcm_ioplug_t *io, const snd_pcm_channel_area_t *areas, snd_pcm_uframes_t offset, snd_pcm_uframes_t size)
int(* close )(snd_pcm_ioplug_t *io)
int(* hw_params )(snd_pcm_ioplug_t *io, snd_pcm_hw_params_t *params)
int(* hw_free )(snd_pcm_ioplug_t *io)
int(* sw_params )(snd_pcm_ioplug_t *io, snd_pcm_sw_params_t *params)
int(* prepare )(snd_pcm_ioplug_t *io)
int(* drain )(snd_pcm_ioplug_t *io)
int(* pause )(snd_pcm_ioplug_t *io, int enable)
int(* resume )(snd_pcm_ioplug_t *io)
int(* poll_descriptors_count )(snd_pcm_ioplug_t *io)
int(* poll_descriptors )(snd_pcm_ioplug_t *io, struct pollfd *pfd, unsigned int space)
int(* poll_revents )(snd_pcm_ioplug_t *io, struct pollfd *pfd, unsigned int nfds, unsigned short *revents)
void(* dump )(snd_pcm_ioplug_t *io, snd_output_t *out)
int(* delay )(snd_pcm_ioplug_t *io, snd_pcm_sframes_t *delayp)

Detailed Description

Callback table of ioplug

Field Documentation

start the PCM; required

stop the PCM; required

get the current DMA position; required

transfer the data; optional

close the PCM; optional

hw_params; optional

hw_free; optional

sw_params; optional

prepare; optional

drain; optional

toggle pause; optional

resume; optional

poll descriptors count; optional

int(* snd_pcm_ioplug_callback::poll_descriptors)(snd_pcm_ioplug_t *io, struct pollfd *pfd, unsigned int space)

poll descriptors; optional

int(* snd_pcm_ioplug_callback::poll_revents)(snd_pcm_ioplug_t *io, struct pollfd *pfd, unsigned int nfds, unsigned short *revents)

mangle poll events; optional

dump; optional

get the delay for the running PCM; optional


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

Generated on Wed Mar 12 05:09:22 2008 for ALSA project - the C library reference by  doxygen 1.5.5