FreeBSD kernel sound device code
snddev_info Struct Reference

#include <sound.h>

Collaboration diagram for snddev_info:

Public Member Functions

 TAILQ_HEAD (dsp_cdevinfo_linkhead, dsp_cdevinfo) dsp_cdevinfo_pool
 

Data Fields

struct {
   struct {
      struct {
      }   busy
 
      struct {
      }   opened
 
   }   pcm
 
channels
 
struct snd_cloneclones
 
unsigned devcount
 
unsigned playcount
 
unsigned reccount
 
unsigned pvchancount
 
unsigned rvchancount
 
unsigned flags
 
int inprog
 
unsigned int bufsz
 
void * devinfo
 
device_t dev
 
char status [SND_STATUSLEN]
 
struct mtx * lock
 
struct cdev * mixer_dev
 
uint32_t pvchanrate
 
uint32_t pvchanformat
 
uint32_t rvchanrate
 
uint32_t rvchanformat
 
int32_t eqpreamp
 
struct sysctl_ctx_list play_sysctl_ctx rec_sysctl_ctx
 
struct sysctl_oid * play_sysctl_tree
 
struct sysctl_oid * rec_sysctl_tree
 
struct cv cv
 

Detailed Description

Definition at line 381 of file sound.h.

Member Function Documentation

◆ TAILQ_HEAD()

snddev_info::TAILQ_HEAD ( dsp_cdevinfo_linkhead  ,
dsp_cdevinfo   
)

Field Documentation

◆ bufsz

unsigned int snddev_info::bufsz

Definition at line 398 of file sound.h.

Referenced by pcm_getbuffersize(), and pcm_sysinit().

◆ 

struct { ... } snddev_info::busy

◆ 

◆ clones

struct snd_clone* snddev_info::clones

Definition at line 394 of file sound.h.

Referenced by dsp_clone(), pcm_clonereset(), pcm_register(), pcm_setstatus(), and pcm_unregister().

◆ cv

struct cv snddev_info::cv

Definition at line 409 of file sound.h.

Referenced by pcm_register(), and pcm_unregister().

◆ dev

◆ devcount

unsigned snddev_info::devcount

Definition at line 395 of file sound.h.

Referenced by pcm_chn_add(), pcm_chn_remove(), pcm_register(), and sound_oss_sysinfo().

◆ devinfo

void* snddev_info::devinfo

Definition at line 399 of file sound.h.

Referenced by pcm_getdevinfo(), pcm_register(), and sysctl_es137x_single_pcm_mixer().

◆ eqpreamp

int32_t snddev_info::eqpreamp

Definition at line 406 of file sound.h.

Referenced by chn_syncstate(), feeder_eq_initsys(), mixer_init(), and sysctl_dev_pcm_eq_preamp().

◆ flags

◆ inprog

int snddev_info::inprog

Definition at line 397 of file sound.h.

Referenced by pcm_inprog(), pcm_register(), and pcm_unregister().

◆ lock

struct mtx* snddev_info::lock

Definition at line 402 of file sound.h.

Referenced by mixer_set_eq(), mixer_set_softpcmvol(), pcm_register(), and pcm_unregister().

◆ mixer_dev

◆ 

struct { ... } snddev_info::opened

◆ 

◆ play_sysctl_tree

struct sysctl_oid* snddev_info::play_sysctl_tree

Definition at line 408 of file sound.h.

Referenced by hdaa_pcm_attach(), pcm_register(), pcm_unregister(), and vchan_initsys().

◆ playcount

◆ pvchancount

◆ pvchanformat

uint32_t snddev_info::pvchanformat

◆ pvchanrate

uint32_t snddev_info::pvchanrate

◆ rec_sysctl_ctx

struct sysctl_ctx_list play_sysctl_ctx snddev_info::rec_sysctl_ctx

Definition at line 407 of file sound.h.

Referenced by hdaa_pcm_attach(), pcm_register(), pcm_unregister(), and vchan_initsys().

◆ rec_sysctl_tree

struct sysctl_oid * snddev_info::rec_sysctl_tree

Definition at line 408 of file sound.h.

Referenced by hdaa_pcm_attach(), pcm_register(), pcm_unregister(), and vchan_initsys().

◆ reccount

◆ rvchancount

◆ rvchanformat

uint32_t snddev_info::rvchanformat

◆ rvchanrate

uint32_t snddev_info::rvchanrate

◆ status

char snddev_info::status[SND_STATUSLEN]

Definition at line 401 of file sound.h.

Referenced by hdaa_pcm_attach(), pcm_register(), pcm_setstatus(), and sound_oss_card_info().


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