← Back to team overview

desktop-packages team mailing list archive

[Bug 1487168] Re: [Emulated AD1980 AC97 inside Virualbox 5.0, playback] volume slider problem

 

static DECLCALLBACK(int) ichac97IOPortNAMWrite(PPDMDEVINS pDevIns,
	                                               void *pvUser, RTIOPORT Port, uint32_t u32, unsigned cb)
{
	    PAC97STATE pThis = (PAC97STATE)pvUser;
	

	
	        case 2:
	        {
	            uint32_t index = Port - pThis->IOPortBase[0];
	            pThis->cas = 0;
	            switch (index)
	            {
	                case AC97_Reset:
	                    ichac97MixerReset(pThis);
	                    break;
	                case AC97_Powerdown_Ctrl_Stat:
	                    u32 &= ~0xf;
	                    u32 |= ichac97MixerLoad(pThis, index) & 0xf;
	                    ichac97MixerStore(pThis, index, u32);
	                    break;
	                case AC97_Master_Volume_Mute:
	                    ichac97SetVolume(pThis, index, PDMAUDIOMIXERCTL_VOLUME, u32);
	                    break;
+	                case AC97_Master_Mono_Volume_Mute:
+	                    ichac97SetVolume(pThis, index, PDMAUDIOMIXERCTL_VOLUME, u32 & 0x803f);
+	                    break;
	                case AC97_PCM_Out_Volume_Mute:
	                    ichac97SetVolume(pThis, index, PDMAUDIOMIXERCTL_PCM, u32);
	                    break;

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

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

Status in alsa-driver package in Ubuntu:
  Invalid
Status in virtualbox package in Ubuntu:
  Confirmed

Bug description:
  Volume Slider is only controlling PCM channel and is not controlling
  Master. In effect, Master is restricting the audio level to the
  default of approximately 45 Percent. In order to raise the Master
  Volume Level, alsamixer is capable of changing Master. Without
  manually raising Master to Max Volume, Volume Slider can only control
  volume from 0-45% which is the default level of Master.

  Description:	Ubuntu Wily Werewolf (development branch)
  Release:	15.10

  ProblemType: Bug
  DistroRelease: Ubuntu 15.10
  Package: alsa-base 1.0.25+dfsg-0ubuntu5
  ProcVersionSignature: Ubuntu 4.1.0-3.3-generic 4.1.3
  Uname: Linux 4.1.0-3-generic x86_64
  ApportVersion: 2.18-0ubuntu7
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  gene       1330 F.... pulseaudio
                        gene       1922 F.... alsamixer
  CurrentDesktop: Unity
  Date: Thu Aug 20 13:00:57 2015
  InstallationDate: Installed on 2015-08-19 (1 days ago)
  InstallationMedia: Edubuntu 15.10 "Wily Werewolf" - Alpha amd64 (20150819)
  PackageArchitecture: all
  SourcePackage: alsa-driver
  Symptom: audio
  Symptom_Card: Built-in Audio - Intel 82801AA-ICH
  Symptom_Type: Volume slider, or mixer problems
  Title: [ICH - Intel 82801AA-ICH, playback] volume slider problem
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 12/01/2006
  dmi.bios.vendor: innotek GmbH
  dmi.bios.version: VirtualBox
  dmi.board.name: VirtualBox
  dmi.board.vendor: Oracle Corporation
  dmi.board.version: 1.2
  dmi.chassis.type: 1
  dmi.chassis.vendor: Oracle Corporation
  dmi.modalias: dmi:bvninnotekGmbH:bvrVirtualBox:bd12/01/2006:svninnotekGmbH:pnVirtualBox:pvr1.2:rvnOracleCorporation:rnVirtualBox:rvr1.2:cvnOracleCorporation:ct1:cvr:
  dmi.product.name: VirtualBox
  dmi.product.version: 1.2
  dmi.sys.vendor: innotek GmbH

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


References