mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Make mute controls available for USB audio mixers.
Submitted by: Horse Ma <Shichun.Ma@dell.com> MFC after: 1 week Sponsored by: Mellanox Technologies
This commit is contained in:
parent
edabe1ee6d
commit
91feacd19e
1 changed files with 2 additions and 2 deletions
|
|
@ -3579,7 +3579,7 @@ uaudio_mixer_add_feature(struct uaudio_softc *sc,
|
|||
switch (ctl) {
|
||||
case MUTE_CONTROL:
|
||||
MIX(sc).type = MIX_ON_OFF;
|
||||
MIX(sc).ctl = SOUND_MIXER_NRDEVICES;
|
||||
MIX(sc).ctl = SOUND_MIXER_MUTE;
|
||||
MIX(sc).name = "mute";
|
||||
break;
|
||||
|
||||
|
|
@ -3694,7 +3694,7 @@ uaudio20_mixer_add_feature(struct uaudio_softc *sc,
|
|||
switch (ctl) {
|
||||
case (3 << 0):
|
||||
MIX(sc).type = MIX_ON_OFF;
|
||||
MIX(sc).ctl = SOUND_MIXER_NRDEVICES;
|
||||
MIX(sc).ctl = SOUND_MIXER_MUTE;
|
||||
MIX(sc).name = "mute";
|
||||
what = MUTE_CONTROL;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue