FreeBSD kernel sound device code
uaudio_chan Struct Reference
Collaboration diagram for uaudio_chan:

Data Fields

struct pcmchan_caps pcm_cap
 
struct uaudio_chan_alt usb_alt [CHAN_MAX_ALT]
 
struct snd_dbufpcm_buf
 
struct mtx * pcm_mtx
 
struct uaudio_softcpriv_sc
 
struct pcm_channelpcm_ch
 
struct usb_xferxfer [UAUDIO_NCHANBUFS+1]
 
uint8_t * buf
 
uint8_t * start
 
uint8_t * end
 
uint8_t * cur
 
uint32_t intr_frames
 
uint32_t frames_per_second
 
uint32_t sample_rem
 
uint32_t sample_curr
 
uint32_t max_buf
 
int32_t jitter_rem
 
int32_t jitter_curr
 
int feedback_rate
 
uint32_t pcm_format [2]
 
uint16_t bytes_per_frame [2]
 
uint32_t intr_counter
 
uint32_t running
 
uint32_t num_alt
 
uint32_t cur_alt
 
uint32_t set_alt
 
uint32_t operation
 
uint8_t iface_index
 

Detailed Description

Definition at line 231 of file uaudio.c.

Field Documentation

◆ buf

uint8_t* uaudio_chan::buf

◆ bytes_per_frame

uint16_t uaudio_chan::bytes_per_frame[2]

Definition at line 258 of file uaudio.c.

Referenced by uaudio_chan_play_callback(), and uaudio_chan_record_callback().

◆ cur

uint8_t* uaudio_chan::cur

◆ cur_alt

uint32_t uaudio_chan::cur_alt

◆ end

uint8_t* uaudio_chan::end

◆ feedback_rate

int uaudio_chan::feedback_rate

Definition at line 254 of file uaudio.c.

Referenced by uaudio_attach_sub(), and uaudio_chan_play_sync_callback().

◆ frames_per_second

uint32_t uaudio_chan::frames_per_second

Definition at line 247 of file uaudio.c.

Referenced by uaudio_chan_play_callback(), and uaudio_chan_record_callback().

◆ iface_index

uint8_t uaudio_chan::iface_index

Definition at line 271 of file uaudio.c.

Referenced by uaudio_get_chan().

◆ intr_counter

uint32_t uaudio_chan::intr_counter

Definition at line 260 of file uaudio.c.

Referenced by uaudio_chan_play_callback().

◆ intr_frames

uint32_t uaudio_chan::intr_frames

Definition at line 246 of file uaudio.c.

Referenced by uaudio_chan_play_callback(), and uaudio_chan_record_callback().

◆ jitter_curr

int32_t uaudio_chan::jitter_curr

◆ jitter_rem

int32_t uaudio_chan::jitter_rem

Definition at line 251 of file uaudio.c.

Referenced by uaudio_chan_play_callback().

◆ max_buf

uint32_t uaudio_chan::max_buf

Definition at line 250 of file uaudio.c.

Referenced by uaudio_chan_init().

◆ num_alt

◆ operation

uint32_t uaudio_chan::operation

Definition at line 265 of file uaudio.c.

Referenced by uaudio_chan_reconfigure(), and uaudio_detach().

◆ pcm_buf

struct snd_dbuf* uaudio_chan::pcm_buf

Definition at line 234 of file uaudio.c.

Referenced by uaudio_chan_init(), and uaudio_chan_set_param_blocksize().

◆ pcm_cap

struct pcmchan_caps uaudio_chan::pcm_cap

Definition at line 232 of file uaudio.c.

Referenced by uaudio_chan_getcaps().

◆ pcm_ch

struct pcm_channel* uaudio_chan::pcm_ch

◆ pcm_format

uint32_t uaudio_chan::pcm_format[2]

Definition at line 256 of file uaudio.c.

◆ pcm_mtx

struct mtx* uaudio_chan::pcm_mtx

Definition at line 235 of file uaudio.c.

Referenced by uaudio_chan_init().

◆ priv_sc

◆ running

◆ sample_curr

uint32_t uaudio_chan::sample_curr

Definition at line 249 of file uaudio.c.

Referenced by uaudio_chan_play_callback(), and uaudio_chan_record_callback().

◆ sample_rem

uint32_t uaudio_chan::sample_rem

Definition at line 248 of file uaudio.c.

Referenced by uaudio_chan_play_callback(), and uaudio_chan_record_callback().

◆ set_alt

◆ start

uint8_t* uaudio_chan::start

◆ usb_alt

◆ xfer


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