VirtualBox

vbox的更動 61609 路徑 trunk/src/VBox/Main


忽略:
時間撮記:
2016-6-9 上午10:22:39 (8 年 以前)
作者:
vboxsync
訊息:

Audio: Update.

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/Main/src-client/DrvAudioVRDE.cpp

    r61320 r61609  
    254254    AssertPtrReturn(pVRDEStrmOut, VERR_INVALID_POINTER);
    255255
    256     uint32_t live = AudioMixBufAvail(&pStream->MixBuf);
     256    uint32_t cLive = AudioMixBufLive(&pStream->MixBuf);
     257
    257258    uint64_t now = PDMDrvHlpTMGetVirtualTime(pDrv->pDrvIns);
    258259    uint64_t ticks = now  - pVRDEStrmOut->old_ticks;
     
    263264
    264265    /* Don't play more than available. */
    265     if (cSamplesPlayed > live)
    266         cSamplesPlayed = live;
     266    if (cSamplesPlayed > cLive)
     267        cSamplesPlayed = cLive;
    267268
    268269    /* Remember when samples were consumed. */
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette