Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
snd_compr_runtime Struct Reference

#include <compress_driver.h>

Data Fields

snd_pcm_state_t state
 
struct snd_compr_opsops
 
voidbuffer
 
u64 buffer_size
 
u32 fragment_size
 
u32 fragments
 
u64 hw_pointer
 
u64 app_pointer
 
u64 total_bytes_available
 
u64 total_bytes_transferred
 
wait_queue_head_t sleep
 
voidprivate_data
 

Detailed Description

struct snd_compr_runtime: runtime stream description : 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 : offset of last location in buffer where DSP copied data : offset of last location in buffer where app wrote data : cumulative number of bytes made available in the ring buffer : cumulative bytes transferred by offload DSP : poll sleep

Definition at line 52 of file compress_driver.h.

Field Documentation

u64 app_pointer

Definition at line 60 of file compress_driver.h.

Definition at line 55 of file compress_driver.h.

u64 buffer_size

Definition at line 56 of file compress_driver.h.

u32 fragment_size

Definition at line 57 of file compress_driver.h.

u32 fragments

Definition at line 58 of file compress_driver.h.

u64 hw_pointer

Definition at line 59 of file compress_driver.h.

Definition at line 54 of file compress_driver.h.

void* private_data

Definition at line 64 of file compress_driver.h.

Definition at line 63 of file compress_driver.h.

Definition at line 53 of file compress_driver.h.

u64 total_bytes_available

Definition at line 61 of file compress_driver.h.

u64 total_bytes_transferred

Definition at line 62 of file compress_driver.h.


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