VirtualBox

Ignore:
Timestamp:
Mar 7, 2021 3:22:36 PM (4 years ago)
Author:
vboxsync
Message:

Audio: Switched DrvAudioHlpFramesToBytes parameters. bugref:9890

File:
1 edited

Legend:

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

    r82968 r87994  
    145145    pStreamDbg->uSamplesSinceStarted = 0;
    146146    pStreamDbg->Out.tsLastPlayed  = 0;
    147     pStreamDbg->Out.cbPlayBuffer  = DrvAudioHlpFramesToBytes(pCfgReq->Backend.cFramesBufferSize, &pCfgReq->Props);
     147    pStreamDbg->Out.cbPlayBuffer  = DrvAudioHlpFramesToBytes(&pCfgReq->Props, pCfgReq->Backend.cFramesBufferSize);
    148148    pStreamDbg->Out.pu8PlayBuffer = (uint8_t *)RTMemAlloc(pStreamDbg->Out.cbPlayBuffer);
    149149    AssertReturn(pStreamDbg->Out.pu8PlayBuffer, VERR_NO_MEMORY);
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