VirtualBox

Ignore:
Timestamp:
Aug 11, 2017 12:36:24 PM (7 years ago)
Author:
vboxsync
Message:

Main/DrvAudioVRDE: Renaming.

File:
1 edited

Legend:

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

    r68272 r68391  
    6969        struct
    7070        {
    71             /** Number of samples this stream can handle at once. */
    72             uint32_t    csMax;
     71            /** Number of audio frames this stream can handle at once. */
     72            uint32_t    cfMax;
    7373            /** Circular buffer for holding the recorded audio samples from the host. */
    7474            PRTCIRCBUF  pCircBuf;
     
    9090static int vrdeCreateStreamIn(PVRDESTREAM pStreamVRDE, PPDMAUDIOSTREAMCFG pCfgReq, PPDMAUDIOSTREAMCFG pCfgAcq)
    9191{
    92     pStreamVRDE->In.csMax = _1K; /** @todo Make this configurable. */
    93 
    94     int rc = RTCircBufCreate(&pStreamVRDE->In.pCircBuf, pStreamVRDE->In.csMax * (pCfgReq->Props.cBits / 8) /* Bytes */);
     92    pStreamVRDE->In.cfMax = _1K; /** @todo Make this configurable. */
     93
     94    int rc = RTCircBufCreate(&pStreamVRDE->In.pCircBuf, pStreamVRDE->In.cfMax * (pCfgReq->Props.cBits / 8) /* Bytes */);
    9595    if (RT_SUCCESS(rc))
    9696    {
     
    104104             * the data without any layout modification needed.
    105105             */
    106             pCfgAcq->enmLayout         = PDMAUDIOSTREAMLAYOUT_RAW;
    107             pCfgAcq->cFrameBufferHint = pStreamVRDE->In.csMax;
     106            pCfgAcq->enmLayout        = PDMAUDIOSTREAMLAYOUT_RAW;
     107            pCfgAcq->cFrameBufferHint = pStreamVRDE->In.cfMax;
    108108        }
    109109    }
     
    158158        case PDMAUDIOSTREAMCMD_ENABLE:
    159159        {
    160             rc = pDrv->pConsoleVRDPServer->SendAudioInputBegin(NULL, pStreamVRDE, pStreamVRDE->In.csMax,
     160            rc = pDrv->pConsoleVRDPServer->SendAudioInputBegin(NULL, pStreamVRDE, pStreamVRDE->In.cfMax,
    161161                                                               pStreamVRDE->pCfg->Props.uHz, pStreamVRDE->pCfg->Props.cChannels,
    162162                                                               pStreamVRDE->pCfg->Props.cBits);
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