the reason for no master playback volume/switch is

master rename as master surround but no headphone playback volume/switch

state.I82801AAICH {
        control.1 {
                iface MIXER
                name 'Master Surround Playback Switch'
                value.0 true
                value.1 true
                comment {
                        access 'read write'
                        type BOOLEAN
                        count 2
                }
        }
        control.2 {
                iface MIXER
                name 'Master Surround Playback Volume'
                value.0 17
                value.1 17
                comment {
                        access 'read write'
                        type INTEGER
                        count 2
                        range '0 - 31'
                        dbmin -4650
                        dbmax 0
                        dbvalue.0 -2100
                        dbvalue.1 -2100
                }
        }


static int patch_ad1888_specific(struct snd_ac97 *ac97)
{
        if (!ac97->spec.ad18xx.lo_as_master) {
                /* rename 0x04 as "Master" and 0x02 as "Master Surround" */
                snd_ac97_rename_vol_ctl(ac97, "Master Playback",
                                        "Master Surround Playback");
                snd_ac97_rename_vol_ctl(ac97, "Headphone Playback",
                                        "Master Playback");
        }
        return patch_build_controls(ac97, snd_ac97_ad1888_controls, 
ARRAY_SIZE(snd_ac97_ad1888_controls));
}

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1487168

Title:
  [Emulated AD1980 AC97 inside Virualbox 5.0, playback] volume slider
  problem

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1487168/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to