All pastes #189483 Raw Edit

Stuff

public text v1 · immutable
·published 2006-10-03 03:02 UTC
rendered paste body
863     switch (codec->id) {
864     case 0x41445374:    /* AD1981B */
865         /*mask = 0;
866         if (codec->mix[SOUND_MIXER_OGAIN].enable)
867             mask |= SOUND_MASK_OGAIN;
868         if (codec->mix[SOUND_MIXER_PHONEOUT].enable)
869             mask |= SOUND_MASK_PHONEOUT;
870         /* Tie ogain/phone to master volume */
871         if (codec->mix[SOUND_MIXER_VOLUME].enable)
872             mix_setparentchild(m, SOUND_MIXER_VOLUME, mask);
873         else {
874             mix_setparentchild(m, SOUND_MIXER_VOLUME, mask);
875             mix_setrealdev(m, SOUND_MIXER_VOLUME, SOUND_MIXER_NONE);
876         }*/
877         break;
878     case 0x434d4941:    /* CMI9738 */