FreeBSD kernel sound device code
|
#include <sound.h>
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_clone * | clones |
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 |
snddev_info::TAILQ_HEAD | ( | dsp_cdevinfo_linkhead | , |
dsp_cdevinfo | |||
) |
unsigned int snddev_info::bufsz |
Definition at line 398 of file sound.h.
Referenced by pcm_getbuffersize(), and pcm_sysinit().
struct { ... } snddev_info::busy |
Referenced by mixer_set_eq(), sysctl_dev_pcm_eq(), and sysctl_dev_pcm_eq_preamp().
struct { ... } snddev_info::channels |
Referenced by chn_trigger(), dsp_close(), dsp_open(), dsp_oss_audioinfo(), pcm_chn_add(), pcm_register(), and sysctl_hw_snd_default_unit().
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().
struct cv snddev_info::cv |
Definition at line 409 of file sound.h.
Referenced by pcm_register(), and pcm_unregister().
device_t snddev_info::dev |
Definition at line 400 of file sound.h.
Referenced by dsp_oss_audioinfo(), pcm_addchan(), pcm_chn_create(), pcm_register(), pcm_setvchans(), sndstat_build_sound4_nvlist(), and sound_oss_card_info().
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().
void* snddev_info::devinfo |
Definition at line 399 of file sound.h.
Referenced by pcm_getdevinfo(), pcm_register(), and sysctl_es137x_single_pcm_mixer().
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().
unsigned snddev_info::flags |
Definition at line 396 of file sound.h.
Referenced by chn_syncstate(), dsp_open(), dsp_set_flags(), feeder_chain(), mix_setdevs(), mixer_init(), mixer_ioctl(), mixer_set(), mixer_set_eq(), mixer_set_softpcmvol(), mixer_setrecsrc(), pcm_getflags(), pcm_register(), pcm_setflags(), pcm_setstatus(), pcm_setvchans(), pcm_sysinit(), pcm_unregister(), snd_setup_intr(), sndstat_build_sound4_nvlist(), sysctl_dev_pcm_bitperfect(), sysctl_dev_pcm_eq(), sysctl_dev_pcm_vchanformat(), sysctl_dev_pcm_vchanmode(), sysctl_dev_pcm_vchanrate(), and sysctl_dev_pcm_vchans().
int snddev_info::inprog |
Definition at line 397 of file sound.h.
Referenced by pcm_inprog(), pcm_register(), and pcm_unregister().
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().
struct cdev* snddev_info::mixer_dev |
Definition at line 403 of file sound.h.
Referenced by chn_syncstate(), dsp_ioctl(), dsp_oss_audioinfo(), mixer_clone(), mixer_get_devt(), mixer_init(), mixer_oss_mixerinfo(), mixer_uninit(), pcm_mode_init(), and sysctl_es137x_single_pcm_mixer().
struct { ... } snddev_info::opened |
struct { ... } snddev_info::pcm |
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().
unsigned snddev_info::playcount |
Definition at line 395 of file sound.h.
Referenced by pcm_best_unit(), pcm_chn_add(), pcm_chn_create(), pcm_chn_remove(), pcm_clonereset(), pcm_mode_init(), pcm_register(), pcm_setstatus(), pcm_setvchans(), sndstat_build_sound4_nvlist(), and sysctl_dev_pcm_vchans().
unsigned snddev_info::pvchancount |
Definition at line 395 of file sound.h.
Referenced by dsp_clone(), pcm_chn_add(), pcm_chn_create(), pcm_chn_remove(), pcm_chnalloc(), pcm_clonereset(), pcm_register(), pcm_setmaxautovchans(), pcm_setvchans(), sndstat_build_sound4_nvlist(), sndstat_get_caps(), sysctl_dev_pcm_vchanformat(), sysctl_dev_pcm_vchanrate(), and sysctl_dev_pcm_vchans().
uint32_t snddev_info::pvchanformat |
Definition at line 404 of file sound.h.
Referenced by chn_notify(), pcm_register(), sndstat_get_caps(), sysctl_dev_pcm_vchanformat(), and vchan_create().
uint32_t snddev_info::pvchanrate |
Definition at line 404 of file sound.h.
Referenced by chn_notify(), pcm_register(), sndstat_get_caps(), sysctl_dev_pcm_vchanrate(), and vchan_create().
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().
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().
unsigned snddev_info::reccount |
Definition at line 395 of file sound.h.
Referenced by pcm_best_unit(), pcm_chn_add(), pcm_chn_create(), pcm_chn_remove(), pcm_clonereset(), pcm_mode_init(), pcm_register(), pcm_setstatus(), pcm_setvchans(), sndstat_build_sound4_nvlist(), and sysctl_dev_pcm_vchans().
unsigned snddev_info::rvchancount |
Definition at line 395 of file sound.h.
Referenced by dsp_clone(), pcm_chn_add(), pcm_chn_create(), pcm_chn_remove(), pcm_chnalloc(), pcm_clonereset(), pcm_register(), pcm_setmaxautovchans(), pcm_setvchans(), sndstat_build_sound4_nvlist(), sndstat_get_caps(), sysctl_dev_pcm_vchanformat(), sysctl_dev_pcm_vchanrate(), and sysctl_dev_pcm_vchans().
uint32_t snddev_info::rvchanformat |
Definition at line 405 of file sound.h.
Referenced by chn_notify(), pcm_register(), sndstat_get_caps(), sysctl_dev_pcm_vchanformat(), and vchan_create().
uint32_t snddev_info::rvchanrate |
Definition at line 405 of file sound.h.
Referenced by chn_notify(), pcm_register(), sndstat_get_caps(), sysctl_dev_pcm_vchanrate(), and vchan_create().
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().