VirtualBox

Changeset 73372 in vbox for trunk/src


Ignore:
Timestamp:
Jul 26, 2018 2:00:40 PM (6 years ago)
Author:
vboxsync
Message:

Build fix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/DrvAudioVRDE.cpp

    r73370 r73372  
    7474            PRTCIRCBUF  pCircBuf;
    7575        } In;
    76         struct
    77         {
    78             uint32_t last;
    79         } Out;
    8076    };
    8177} VRDESTREAM, *PVRDESTREAM;
     
    296292                                                 pProps->fSigned);
    297293
    298     const uint64_t ticksNow     = PDMDrvHlpTMGetVirtualTime(pDrv->pDrvIns);
    299     const uint64_t ticksElapsed = ticksNow  - pStreamVRDE->Out.last;
    300     const uint64_t ticksPerSec  = PDMDrvHlpTMGetVirtualFreq(pDrv->pDrvIns);
    301 
    302     /* Remember when frames were consumed. */
    303     pStreamVRDE->Out.last = PDMDrvHlpTMGetVirtualTime(pDrv->pDrvIns);
    304 
    305     Log3Func(("FOOO -- %d\n", (int)((2 * ticksElapsed * pProps->uHz + ticksPerSec) / ticksPerSec / 2)));
    306 
    307294    /* Use the internal counter to track if we (still) can write to the VRDP server
    308295     * or if we need to wait another round (time slot). */
    309     uint32_t cfToWrite = cfLive; //pStreamVRDE->Out.cfToWrite;
     296    uint32_t cfToWrite = cfLive;
    310297
    311298    Log3Func(("cfLive=%RU32, cfToWrite=%RU32\n", cfLive, cfToWrite));
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