VirtualBox

Changeset 73817 in vbox for trunk


Ignore:
Timestamp:
Aug 22, 2018 8:47:07 AM (6 years ago)
Author:
vboxsync
Message:

Audio/DrvAudio: Const.

File:
1 edited

Legend:

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

    r73816 r73817  
    14001400            break;
    14011401        }
    1402               uint32_t cfLive       = AudioMixBufLive(&pStream->Host.MixBuf);
     1402
     1403        const uint32_t cfLive       = AudioMixBufLive(&pStream->Host.MixBuf);
    14031404#ifdef LOG_ENABLED
    14041405        const uint8_t  uLivePercent = (100 * cfLive) / AudioMixBufSize(&pStream->Host.MixBuf);
     
    14061407        const uint64_t tsDeltaPlayedCapturedNs = RTTimeNanoTS() - pStream->tsLastPlayedCapturedNs;
    14071408#endif
    1408         uint32_t cfPassedReal = DrvAudioHlpNanoToFrames(tsDeltaPlayedCapturedNs, &pStream->Host.Cfg.Props);
     1409        const uint32_t cfPassedReal = DrvAudioHlpNanoToFrames(tsDeltaPlayedCapturedNs, &pStream->Host.Cfg.Props);
    14091410
    14101411        const uint32_t cfPeriod     = pStream->Host.Cfg.Backend.cfPeriod;
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