VirtualBox

Changeset 55482 in vbox


Ignore:
Timestamp:
Apr 28, 2015 1:30:49 PM (9 years ago)
Author:
vboxsync
Message:

Audio: Careful with the UINT32_C macro...

File:
1 edited

Legend:

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

    r55462 r55482  
    12101210    pMixBuf->Volume.fMuted = pVol->fMuted;
    12111211    //@todo: Ensure that the input is in the correct range/initialized!
    1212     pMixBuf->Volume.uLeft  = aVolumeConv[pVol->uLeft  & 0xFF] * UINT32_C(VOL_0DB >> 16);
    1213     pMixBuf->Volume.uRight = aVolumeConv[pVol->uRight & 0xFF] * UINT32_C(VOL_0DB >> 16);
     1212    pMixBuf->Volume.uLeft  = aVolumeConv[pVol->uLeft  & 0xFF] * (VOL_0DB >> 16);
     1213    pMixBuf->Volume.uRight = aVolumeConv[pVol->uRight & 0xFF] * (VOL_0DB >> 16);
    12141214
    12151215    LogFlowFunc(("\t-> lVol=%#RX32, rVol=%#RX32\n", pMixBuf->Volume.uLeft, pMixBuf->Volume.uRight));
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