ALSA project - the C library reference
Functions
pcm_ioplug.c File Reference

I/O Plugin SDK. More...

Include dependency graph for pcm_ioplug.c:

Functions

int snd_pcm_ioplug_create (snd_pcm_ioplug_t *ioplug, const char *name, snd_pcm_stream_t stream, int mode)
 Create an ioplug instance. More...
 
int snd_pcm_ioplug_delete (snd_pcm_ioplug_t *ioplug)
 Delete the ioplug instance. More...
 
void snd_pcm_ioplug_params_reset (snd_pcm_ioplug_t *ioplug)
 Reset ioplug parameters. More...
 
int snd_pcm_ioplug_set_param_list (snd_pcm_ioplug_t *ioplug, int type, unsigned int num_list, const unsigned int *list)
 Set parameter as the list. More...
 
int snd_pcm_ioplug_set_param_minmax (snd_pcm_ioplug_t *ioplug, int type, unsigned int min, unsigned int max)
 Set parameter as the min/max values. More...
 
int snd_pcm_ioplug_reinit_status (snd_pcm_ioplug_t *ioplug)
 Reinitialize the poll and mmap status. More...
 
const snd_pcm_channel_area_tsnd_pcm_ioplug_mmap_areas (snd_pcm_ioplug_t *ioplug)
 Get mmap area of ioplug. More...
 
int snd_pcm_ioplug_set_state (snd_pcm_ioplug_t *ioplug, snd_pcm_state_t state)
 Change the ioplug PCM status. More...
 
snd_pcm_uframes_t snd_pcm_ioplug_avail (const snd_pcm_ioplug_t *const ioplug, const snd_pcm_uframes_t hw_ptr, const snd_pcm_uframes_t appl_ptr)
 Get the available frames. This function can be used to calculate the the available frames before calling snd_pcm_avail_update() More...
 
snd_pcm_uframes_t snd_pcm_ioplug_hw_avail (const snd_pcm_ioplug_t *const ioplug, const snd_pcm_uframes_t hw_ptr, const snd_pcm_uframes_t appl_ptr)
 Get the available frames. This function can be used to calculate the the available frames before calling snd_pcm_avail_update() More...
 

Detailed Description

I/O Plugin SDK.

Author
Takashi Iwai tiwai.nosp@m.@sus.nosp@m.e.de
Date
2005