Changeset 62280 in vbox
- Timestamp:
- Jul 15, 2016 2:24:58 PM (8 years ago)
- File:
-
- 1 edited
-
trunk/src/VBox/Devices/Audio/DevIchAc97.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DevIchAc97.cpp
r62253 r62280 984 984 rCntlAtt = uVal & AC97_BARS_VOL_MASK; 985 985 986 /* For the master volume, 0 corresponds to 0dB attenuation. For the other volume987 * controls, 0 means 12dB gain and 8 means unity gain.986 /* For the master and headphone volume, 0 corresponds to 0dB attenuation. For the other 987 * volume controls, 0 means 12dB gain and 8 means unity gain. 988 988 */ 989 if (index != AC97_Master_Volume_Mute )989 if (index != AC97_Master_Volume_Mute && index != AC97_Headphone_Volume_Mute) 990 990 { 991 991 #ifndef VBOX_WITH_AC97_GAIN_SUPPORT … … 1002 1002 1003 1003 /* 1004 * For AC'97 volume controls, each additional step means -1.5dB attenuation with 1005 * zero being maximum. In contrast, we're internally using 255 (PDMAUDIO_VOLUME_MAX) 1004 * For AC'97 volume controls, each additional step means -1.5dB attenuation with 1005 * zero being maximum. In contrast, we're internally using 255 (PDMAUDIO_VOLUME_MAX) 1006 1006 * steps, each -0.375dB, where 0 corresponds to -96dB and 255 corresponds to 0dB. 1007 1007 */
Note:
See TracChangeset
for help on using the changeset viewer.

