if ((kctl = snd_ctl_new1(&snd_p16v_capture_source, emu)) == NULL) return -ENOMEM; if ((err = snd_ctl_add(card, kctl))) return err;
int snd_p16v_mixer(emu10k1_t *emu){        int err;        snd_kcontrol_t *kctl;        snd_card_t *card = emu->card;        if ((kctl = snd_ctl_new1(&snd_p16v_volume_control_analog_front, emu)) == NULL)                return -ENOMEM;        if ((err = snd_ctl_add(card, kctl)))                return err;        if ((kctl = snd_ctl_new1(&snd_p16v_volume_control_analog_rear, emu)) == NULL)                return -ENOMEM;        if ((err = snd_ctl_add(card, kctl)))                return err;        if ((kctl = snd_ctl_new1(&snd_p16v_volume_control_analog_center_lfe, emu)) == NULL)                return -ENOMEM;        if ((err = snd_ctl_add(card, kctl)))                return err;        if ((kctl = snd_ctl_new1(&snd_p16v_volume_control_analog_unknown, emu)) == NULL)                return -ENOMEM;        if ((err = snd_ctl_add(card, kctl)))                return err;        if ((kctl = snd_ctl_new1(&snd_p16v_volume_control_spdif_front, emu)) == NULL)                return -ENOMEM;        if ((err = snd_ctl_add(card, kctl)))                return err;        if ((kctl = snd_ctl_new1(&snd_p16v_volume_control_spdif_rear, emu)) == NULL)                return -ENOMEM;        if ((err = snd_ctl_add(card, kctl)))                return err;        if ((kctl = snd_ctl_new1(&snd_p16v_volume_control_spdif_center_lfe, emu)) == NULL)                return -ENOMEM;        if ((err = snd_ctl_add(card, kctl)))                return err;        if ((kctl = snd_ctl_new1(&snd_p16v_volume_control_spdif_unknown, emu)) == NULL)                return -ENOMEM;        if ((err = snd_ctl_add(card, kctl)))                return err;        return 0;}