VirtualBox

Changeset 55921 in vbox


Ignore:
Timestamp:
May 18, 2015 7:15:35 PM (10 years ago)
Author:
vboxsync
Message:

Whops, forgot to commit this.

File:
1 edited

Legend:

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

    r55650 r55921  
    173173    if (pVRDEStrmIn->cSamplesCaptured)
    174174    {
    175         rc = audioMixBufMixToParent(&pVRDEStrmIn->HstStrmIn.MixBuf, pVRDEStrmIn->cSamplesCaptured,
     175        rc = AudioMixBufMixToParent(&pVRDEStrmIn->HstStrmIn.MixBuf, pVRDEStrmIn->cSamplesCaptured,
    176176                                    &cProcessed);
    177177    }
     
    250250    PPDMAUDIOSAMPLE pSamples;
    251251    uint32_t cRead;
    252     int rc = audioMixBufAcquire(&pHstStrmOut->MixBuf, cSamplesToSend,
     252    int rc = AudioMixBufAcquire(&pHstStrmOut->MixBuf, cSamplesToSend,
    253253                                &pSamples, &cRead);
    254254    if (   RT_SUCCESS(rc)
     
    260260        if (rc == VINF_TRY_AGAIN)
    261261        {
    262             rc = audioMixBufAcquire(&pHstStrmOut->MixBuf, cSamplesToSend - cRead,
     262            rc = AudioMixBufAcquire(&pHstStrmOut->MixBuf, cSamplesToSend - cRead,
    263263                                    &pSamples, &cRead);
    264264            if (RT_SUCCESS(rc))
     
    269269    }
    270270
    271     audioMixBufFinish(&pHstStrmOut->MixBuf, cSamplesToSend);
     271    AudioMixBufFinish(&pHstStrmOut->MixBuf, cSamplesToSend);
    272272
    273273    /*
     
    312312    LogFlowFunc(("enmStreamCmd=%ld\n", enmStreamCmd));
    313313
    314     audioMixBufReset(&pHstStrmOut->MixBuf);
     314    AudioMixBufReset(&pHstStrmOut->MixBuf);
    315315
    316316    return VINF_SUCCESS;
     
    333333        return VINF_SUCCESS;
    334334
    335     audioMixBufReset(&pThisStrmIn->MixBuf);
     335    AudioMixBufReset(&pThisStrmIn->MixBuf);
    336336
    337337    /* Initialize only if not already done. */
     
    339339    if (enmStreamCmd == PDMAUDIOSTREAMCMD_ENABLE)
    340340    {
    341         rc = pDrv->pConsoleVRDPServer->SendAudioInputBegin(NULL, pVRDEStrmIn, audioMixBufSize(&pThisStrmIn->MixBuf),
     341        rc = pDrv->pConsoleVRDPServer->SendAudioInputBegin(NULL, pVRDEStrmIn, AudioMixBufSize(&pThisStrmIn->MixBuf),
    342342                                                           pThisStrmIn->Props.uHz,
    343343                                                           pThisStrmIn->Props.cChannels, pThisStrmIn->Props.cBits);
     
    459459
    460460    uint32_t cWritten;
    461     int rc = audioMixBufWriteCirc(&pHstStrmIn->MixBuf, pvData, cbData, &cWritten);
     461    int rc = AudioMixBufWriteCirc(&pHstStrmIn->MixBuf, pvData, cbData, &cWritten);
    462462    if (RT_SUCCESS(rc))
    463463        pVRDEStrmIn->cSamplesCaptured += cWritten;
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