http://git.alsa-project.org/?p=alsa-
kmirror.git;a=commitdiff_plain;h=bb9a16dc52281d98dfb525552d29d8939845d8e2


it was this patch change master mono from mono to stereo 


        
        /* build master mono controls */
        if (snd_ac97_try_volume_mix(ac97, AC97_MASTER_MONO)) {
-               if ((err = snd_ctl_add(card, 
snd_ac97_cnew(&snd_ac97_controls_master_mono[0], ac97))) < 0)
+               if ((err = snd_ac97_cmix_new(card, "Master Mono Playback", 
AC97_MASTER_MONO, ac97)) < 0)
                        return err;
-               if ((err = snd_ctl_add(card, kctl = 
snd_ac97_cnew(&snd_ac97_controls_master_mono[1], ac97))) < 0)
-                       return err;
-               snd_ac97_change_volume_params1(ac97, AC97_MASTER_MONO, &max);
-               kctl->private_value &= ~(0xff << 16);
-               kctl->private_value |= (int)max << 16;
-               snd_ac97_write_cache(ac97, AC97_MASTER_MONO, 0x8000 | max);
        }

-- 
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/virtualbox/+bug/1487168/+subscriptions

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

Reply via email to