Lines Matching defs:recmask
112 int recmask; /* currently enabled recording device! */
995 waveartist_select_input(wavnc_info *devc, unsigned int recmask,
1000 if (recmask & SOUND_MASK_IMIX) {
1001 recmask = SOUND_MASK_IMIX;
1003 } else if (recmask & SOUND_MASK_LINE2) {
1004 recmask = SOUND_MASK_LINE2;
1006 } else if (recmask & SOUND_MASK_LINE1) {
1007 recmask = SOUND_MASK_LINE1;
1009 } else if (recmask & SOUND_MASK_LINE) {
1010 recmask = SOUND_MASK_LINE;
1012 } else if (recmask & SOUND_MASK_MIC) {
1013 recmask = SOUND_MASK_MIC;
1019 return recmask;
1067 waveartist_set_recmask(wavnc_info *devc, unsigned int recmask)
1071 recmask &= devc->mix->recording_devs;
1077 if (hweight32(recmask) > 1)
1078 recmask &= ~devc->recmask;
1084 devc->recmask = devc->mix->select_input(devc, recmask,
1162 ret = devc->recmask;
1566 netwinder_select_input(wavnc_info *devc, unsigned int recmask,
1571 if (recmask & SOUND_MASK_IMIX) {
1572 recmask = SOUND_MASK_IMIX;
1575 } else if (recmask & SOUND_MASK_LINE) {
1576 recmask = SOUND_MASK_LINE;
1579 } else if (recmask & SOUND_MASK_LINE1) {
1580 recmask = SOUND_MASK_LINE1;
1584 } else if (recmask & SOUND_MASK_PHONEIN) {
1585 recmask = SOUND_MASK_PHONEIN;
1589 } else if (recmask & SOUND_MASK_MIC) {
1590 recmask = SOUND_MASK_MIC;
1599 return recmask;
1702 vnc_configure_mixer(wavnc_info *devc, unsigned int recmask)
1706 recmask = SOUND_MASK_LINE1;
1709 recmask = SOUND_MASK_PHONEIN;
1715 if ((devc->recmask & SOUND_MASK_LINE) == 0)
1716 devc->recmask = SOUND_MASK_MIC;
1722 if (recmask != devc->recmask)
1723 waveartist_set_recmask(devc, recmask);
1749 vnc_configure_mixer(devc, devc->recmask);
1827 vnc_configure_mixer(devc, devc->recmask);