Changeset 91488 in vbox for trunk/src/VBox/ValidationKit/utils
- Timestamp:
- Sep 30, 2021 8:17:37 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/utils/audio/vkatDriverStack.cpp
r91451 r91488 1568 1568 AssertReturnVoid(pMix->fDoMixing); 1569 1569 1570 uint8_t const uVol = (PDMAUDIO_VOLUME_MAX / 100) * uVolumePercent; 1571 1570 1572 PDMAUDIOVOLUME Vol; 1571 1573 RT_ZERO(Vol); 1572 1574 for (size_t i = 0; i < RT_ELEMENTS(Vol.auChannels); i++) 1573 Vol.auChannels[i] = (PDMAUDIO_VOLUME_MAX / 100) * uVolumePercent;1575 Vol.auChannels[i] = uVol; 1574 1576 AudioMixBufSetVolume(&pMix->MixBuf, &Vol); 1575 1577 }
Note:
See TracChangeset
for help on using the changeset viewer.