VirtualBox

Changeset 90008 in vbox


Ignore:
Timestamp:
Jul 3, 2021 12:02:25 AM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
145496
Message:

AudioMixBuffer: Fixed regresion in AudioMixBufSetVolume from the multichannel volume refactoring. bugref:9890

File:
1 edited

Legend:

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

    r89811 r90008  
    20932093
    20942094        AssertCompileSize(pVol->auChannels[0], sizeof(uint8_t));
    2095         for (uintptr_t i = 2; i < pMixBuf->cChannels; i++)
     2095        for (uintptr_t i = 0; i < pMixBuf->cChannels; i++)
    20962096            pMixBuf->Volume.auChannels[i] = s_aVolumeConv[pVol->auChannels[i]] * (AUDIOMIXBUF_VOL_0DB >> 16);
    20972097
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