Changeset 89768 in vbox for trunk/src/VBox/Devices/Audio/testcase
- Timestamp:
- Jun 17, 2021 11:03:19 PM (4 years ago)
- svn:sync-xref-src-repo-rev:
- 145220
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/testcase/tstAudioMixBuffer.cpp
r89377 r89768 794 794 * 1) Full volume/0dB attenuation (255). 795 795 */ 796 PDMAUDIOVOLUME Vol; 797 Vol.fMuted = false; 798 Vol.uLeft = 255; 799 Vol.uRight = 255; 796 PDMAUDIOVOLUME Vol = PDMAUDIOVOLUME_INITIALIZER_MAX; 800 797 AudioMixBufSetVolume(&MixBuf, &Vol); 801 798 … … 826 823 * 2) Half volume/-6dB attenuation (16 steps down). 827 824 */ 828 Vol.uLeft = 255 - 16; 829 Vol.uRight = 255 - 16; 825 PDMAudioVolumeInitFromStereo(&Vol, false, 255 - 16, 255 - 16); 830 826 AudioMixBufSetVolume(&MixBuf, &Vol); 831 827
Note:
See TracChangeset
for help on using the changeset viewer.