struct snd_compr_runtime —
struct snd_compr_runtime { snd_pcm_state_t state; struct snd_compr_ops * ops; void * buffer; u64 buffer_size; u32 fragment_size; u32 fragments; u64 total_bytes_available; u64 total_bytes_transferred; wait_queue_head_t sleep; void * private_data; };
stream state
pointer to DSP callbacks
pointer to kernel buffer, valid only when not in mmap mode or DSP doesn't implement copy
size of the above buffer
size of buffer fragment in bytes
number of such fragments
cumulative number of bytes made available in the ring buffer
cumulative bytes transferred by offload DSP
poll sleep
driver private data pointer