Main Page | Modules | Data Structures | Directories | File List | Data Fields | Globals | Related Pages | Examples

snd_pcm_ioplug Struct Reference
[External I/O plugin SDK]


Data Fields

unsigned int version
const char * name
unsigned int flags
int poll_fd
unsigned int poll_events
unsigned int mmap_rw
const snd_pcm_ioplug_callback_tcallback
void * private_data
snd_pcm_tpcm
snd_pcm_stream_t stream
snd_pcm_state_t state
volatile snd_pcm_uframes_t appl_ptr
volatile snd_pcm_uframes_t hw_ptr
int nonblock
snd_pcm_access_t access
snd_pcm_format_t format
unsigned int channels
unsigned int rate
snd_pcm_uframes_t period_size
snd_pcm_uframes_t buffer_size

Detailed Description

Handle of ioplug


Field Documentation

snd_pcm_access_t snd_pcm_ioplug::access
 

access type; filled after hw_params is called

volatile snd_pcm_uframes_t snd_pcm_ioplug::appl_ptr
 

application pointer; read-only

snd_pcm_uframes_t snd_pcm_ioplug::buffer_size
 

buffer size; filled after hw_params is called

const snd_pcm_ioplug_callback_t* snd_pcm_ioplug::callback
 

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

unsigned int snd_pcm_ioplug::channels
 

number of channels; filled after hw_params is called

unsigned int snd_pcm_ioplug::flags
 

SND_PCM_IOPLUG_FLAG_XXX

snd_pcm_format_t snd_pcm_ioplug::format
 

PCM format; filled after hw_params is called

volatile snd_pcm_uframes_t snd_pcm_ioplug::hw_ptr
 

hw pointer; read-only

unsigned int snd_pcm_ioplug::mmap_rw
 

pseudo mmap mode

const char* snd_pcm_ioplug::name
 

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

int snd_pcm_ioplug::nonblock
 

non-block mode; read-only

snd_pcm_t* snd_pcm_ioplug::pcm
 

PCM handle filled by snd_pcm_extplug_create()

snd_pcm_uframes_t snd_pcm_ioplug::period_size
 

period size; filled after hw_params is called

unsigned int snd_pcm_ioplug::poll_events
 

poll events

int snd_pcm_ioplug::poll_fd
 

poll file descriptor

void* snd_pcm_ioplug::private_data
 

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

unsigned int snd_pcm_ioplug::rate
 

rate; filled after hw_params is called

snd_pcm_state_t snd_pcm_ioplug::state
 

current PCM state; read-only

snd_pcm_stream_t snd_pcm_ioplug::stream
 

stream direcion; read-only

unsigned int snd_pcm_ioplug::version
 

protocol version; SND_PCM_IOPLUG_VERSION must be filled here before calling snd_pcm_ioplug_create()


The documentation for this struct was generated from the following file:
Generated on Sun Apr 27 18:17:16 2008 for ALSA project - the C library reference by  doxygen 1.4.4