Lines Matching refs:recmask
111 int recmask; /* currently enabled recording device! */
1000 waveartist_select_input(wavnc_info *devc, unsigned int recmask,
1005 if (recmask & SOUND_MASK_IMIX) {
1006 recmask = SOUND_MASK_IMIX;
1008 } else if (recmask & SOUND_MASK_LINE2) {
1009 recmask = SOUND_MASK_LINE2;
1011 } else if (recmask & SOUND_MASK_LINE1) {
1012 recmask = SOUND_MASK_LINE1;
1014 } else if (recmask & SOUND_MASK_LINE) {
1015 recmask = SOUND_MASK_LINE;
1017 } else if (recmask & SOUND_MASK_MIC) {
1018 recmask = SOUND_MASK_MIC;
1024 return recmask;
1072 waveartist_set_recmask(wavnc_info *devc, unsigned int recmask)
1076 recmask &= devc->mix->recording_devs;
1082 if (hweight32(recmask) > 1)
1083 recmask &= ~devc->recmask;
1089 devc->recmask = devc->mix->select_input(devc, recmask,
1167 ret = devc->recmask;
1573 netwinder_select_input(wavnc_info *devc, unsigned int recmask,
1578 if (recmask & SOUND_MASK_IMIX) {
1579 recmask = SOUND_MASK_IMIX;
1582 } else if (recmask & SOUND_MASK_LINE) {
1583 recmask = SOUND_MASK_LINE;
1586 } else if (recmask & SOUND_MASK_LINE1) {
1587 recmask = SOUND_MASK_LINE1;
1591 } else if (recmask & SOUND_MASK_PHONEIN) {
1592 recmask = SOUND_MASK_PHONEIN;
1596 } else if (recmask & SOUND_MASK_MIC) {
1597 recmask = SOUND_MASK_MIC;
1606 return recmask;
1709 vnc_configure_mixer(wavnc_info *devc, unsigned int recmask)
1713 recmask = SOUND_MASK_LINE1;
1716 recmask = SOUND_MASK_PHONEIN;
1722 if ((devc->recmask & SOUND_MASK_LINE) == 0)
1723 devc->recmask = SOUND_MASK_MIC;
1729 if (recmask != devc->recmask)
1730 waveartist_set_recmask(devc, recmask);
1756 vnc_configure_mixer(devc, devc->recmask);
1834 vnc_configure_mixer(devc, devc->recmask);