snd_dev
int (*mod)(struct snd_dev *, void *);
static int mod_bitperfect(struct snd_dev *, void *);
static int mod_autoconv(struct snd_dev *, void *);
static int mod_realtime(struct snd_dev *, void *);
static int mod_play_vchans(struct snd_dev *, void *);
static int mod_play_rate(struct snd_dev *, void *);
static int mod_play_format(struct snd_dev *, void *);
static int mod_rec_vchans(struct snd_dev *, void *);
static int mod_rec_rate(struct snd_dev *, void *);
static int mod_rec_format(struct snd_dev *, void *);
#define F(member) offsetof(struct snd_dev, member)
static struct snd_dev *
struct snd_dev *dp = NULL;
if ((dp = calloc(1, sizeof(struct snd_dev))) == NULL)
free_dev(struct snd_dev *dp)
print_dev_ctl(struct snd_dev *dp, struct snd_ctl *ctl, bool simple,
print_dev(struct snd_dev *dp)
mod_bitperfect(struct snd_dev *dp, void *arg)
mod_autoconv(struct snd_dev *dp, void *arg)
mod_realtime(struct snd_dev *dp, void *arg)
mod_play_vchans(struct snd_dev *dp, void *arg)
struct snd_dev *dev;
mod_play_rate(struct snd_dev *dp, void *arg)
mod_play_format(struct snd_dev *dp, void *arg)
mod_rec_vchans(struct snd_dev *dp, void *arg)
mod_rec_rate(struct snd_dev *dp, void *arg)
mod_rec_format(struct snd_dev *dp, void *arg)
struct snd_dev *dp;