Lines Matching refs:mute
189 MONO_INPUT_MUTE|ATTEN_6, /* mute speaker by default */
416 sc->mute[AD1848_MONITOR_CHANNEL] = MUTE_ALL;
425 sc->mute[AD1848_MONO_CHANNEL] = MUTE_ALL;
459 * This function doesn't set the mute flags but does use them.
460 * The mute flags reflect the mutes that have been applied by the user.
461 * However, the driver occasionally wants to mute devices (e.g. when changing
462 * sampling rate). These operations should not affect the mute flags.
466 ad1848_mute_channel(struct ad1848_softc *sc, int device, int mute)
472 if (mute & MUTE_LEFT) {
484 } else if (!(sc->mute[device] & MUTE_LEFT)) {
503 if (mute & MUTE_RIGHT) {
505 } else if (!(sc->mute[device] & MUTE_RIGHT)) {
584 ad1848_mute_wave_output(struct ad1848_softc *sc, int mute, int set)
588 DPRINTF(("ad1848_mute_wave_output: %d, %d\n", mute, set));
590 if (mute == WAVE_MUTE2_INIT) {
592 mute = WAVE_MUTE2;
595 m = sc->wave_mute_status |= mute;
597 m = sc->wave_mute_status &= ~mute;
603 sc->mute[AD1848_DAC_CHANNEL]);
688 cp->un.ord = ac->mute[dev] ? 1 : 0;
759 ac->mute[dev] = (cp->un.ord ? MUTE_ALL : 0);
760 ad1848_mute_channel(ac, dev, ac->mute[dev]);
882 if (flags & FREAD && sc->mute[AD1848_MONITOR_CHANNEL] == 0)