VirtualBox

Changeset 67928 in vbox


Ignore:
Timestamp:
Jul 12, 2017 11:51:13 AM (7 years ago)
Author:
vboxsync
Message:

Audio/DevIchAc97.cpp: Implemented record gain registers 1Ch and 1Eh: Those are needed for newer Ubuntu guests which rely on those when controlling gain and muting the recording (capturing) levels. Fixes recording with those guests.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Audio/DevIchAc97.cpp

    r67910 r67928  
    28642864                    ichac97MixerRecordSelect(pThis, u32Val);
    28652865                    break;
     2866                case AC97_Record_Gain_Mute:
     2867                    /* Newer Ubuntu guests rely on that when controlling gain and muting
     2868                     * the recording (capturing) levels. */
     2869                    ichac97MixerSetVolume(pThis, index, PDMAUDIOMIXERCTL_LINE_IN, u32Val);
     2870                    break;
     2871                case AC97_Record_Gain_Mic_Mute:
     2872                    /* Ditto; see note above. */
     2873                    ichac97MixerSetVolume(pThis, index, PDMAUDIOMIXERCTL_MIC_IN,  u32Val);
     2874                    break;
    28662875                case AC97_Vendor_ID1:
    28672876                case AC97_Vendor_ID2:
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette