FreeBSD kernel sound device code
|
Go to the source code of this file.
Macros | |
#define | SND_UNIT_UMIN 16 |
#define | SND_UNIT_UMAX 2048 |
#define | SND_U_MASK (snd_u2unit(snd_max_u())) |
#define | SND_D_MASK (snd_d2unit(snd_max_d())) |
#define | SND_C_MASK (snd_c2unit(snd_max_c())) |
Functions | |
int | snd_max_u (void) |
int | snd_max_d (void) |
int | snd_max_c (void) |
int | snd_unit2u (int) |
int | snd_unit2d (int) |
int | snd_unit2c (int) |
int | snd_u2unit (int) |
int | snd_d2unit (int) |
int | snd_c2unit (int) |
int | snd_mkunit (int, int, int) |
void | snd_unit_init (void) |
#define SND_C_MASK (snd_c2unit(snd_max_c())) |
#define SND_D_MASK (snd_d2unit(snd_max_d())) |
#define SND_U_MASK (snd_u2unit(snd_max_u())) |
int snd_c2unit | ( | int | c | ) |
Definition at line 148 of file unit.c.
References c, MKMASK, and SND_UNIT_ASSERT.
Referenced by dsp_clone().
int snd_d2unit | ( | int | d | ) |
Definition at line 140 of file unit.c.
References MKMASK, snd_c_shift, and SND_UNIT_ASSERT.
Referenced by dsp_clone().
int snd_max_c | ( | void | ) |
Definition at line 100 of file unit.c.
References c, MKMASK, and SND_UNIT_ASSERT.
Referenced by snd_unit_init().
int snd_max_d | ( | void | ) |
Definition at line 92 of file unit.c.
References MKMASK, and SND_UNIT_ASSERT.
Referenced by snd_unit_init().
int snd_max_u | ( | void | ) |
Definition at line 84 of file unit.c.
References MKMASK, and SND_UNIT_ASSERT.
Referenced by snd_unit_init().
int snd_mkunit | ( | int | u, |
int | d, | ||
int | c | ||
) |
Definition at line 156 of file unit.c.
References c, MKMASK, snd_c_shift, snd_d_shift, and SND_UNIT_ASSERT.
Referenced by mixer_init(), and pcm_chn_create().
int snd_u2unit | ( | int | u | ) |
Definition at line 132 of file unit.c.
References MKMASK, snd_c_shift, snd_d_shift, and SND_UNIT_ASSERT.
Referenced by dsp_clone().
int snd_unit2c | ( | int | unit | ) |
Definition at line 124 of file unit.c.
References c, MKMASK, and SND_UNIT_ASSERT.
Referenced by dsp_unit2name(), and pcm_chnalloc().
int snd_unit2d | ( | int | unit | ) |
Definition at line 116 of file unit.c.
References MKMASK, snd_c_shift, and SND_UNIT_ASSERT.
Referenced by dsp_unit2name(), and pcm_chnalloc().
int snd_unit2u | ( | int | unit | ) |
Definition at line 108 of file unit.c.
References MKMASK, snd_c_shift, snd_d_shift, and SND_UNIT_ASSERT.
Referenced by dsp_unit2name().
void snd_unit_init | ( | void | ) |
Definition at line 168 of file unit.c.
References SND_C_MASK, snd_c_shift, SND_D_MASK, snd_d_shift, snd_max_c(), snd_max_d(), snd_max_u(), SND_U_MASK, snd_u_shift, snd_unit_initialized, SND_UNIT_UMAX, and SND_UNIT_UMIN.
Referenced by dsp_sysinit(), and SLIST_HEAD().