VirtualBox

Ignore:
Timestamp:
Nov 27, 2019 10:09:17 PM (5 years ago)
Author:
vboxsync
Message:

vmm/pdmaudioifs.h: The prefix 'cf' reads 'count-of-flags', so if you want 'count-of-frames' in a non-confusing way you have to spell it out. The prefix 'cx' means 'count-of-x-coordinates', i.e. width in pixels, and is not in any way suited to combine 'cb' and 'cFrames' in this context (PDM). bugref:9218

File:
1 edited

Legend:

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

    r82253 r82254  
    17781778
    17791779    /* Disable pre-buffering for SB16; not needed for that bit of data. */
    1780     pCfgHost->Backend.cfPreBuf = 0;
     1780    pCfgHost->Backend.cFramesPreBuffering = 0;
    17811781
    17821782    int rc = pDrv->pConnector->pfnStreamCreate(pDrv->pConnector, pCfgHost, pCfg /* pCfgGuest */, &pDrv->Out.pStream);
     
    18751875        /* Set scheduling hint (if available). */
    18761876        if (pThis->cTicksTimerIOInterval)
    1877             pThis->Out.Cfg.Device.uSchedulingHintMs = 1000 /* ms */
     1877            pThis->Out.Cfg.Device.cMsSchedulingHint = 1000 /* ms */
    18781878                                                    / (  PDMDevHlpTimerGetFreq(pDevIns, pThis->hTimerIO)
    18791879                                                       / RT_MIN(pThis->cTicksTimerIOInterval, 1));
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