Changeset 88156 in vbox for trunk/src/VBox
- Timestamp:
- Mar 17, 2021 2:29:47 PM (4 years ago)
- svn:sync-xref-src-repo-rev:
- 143305
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DrvHostPulseAudio.cpp
r88028 r88156 439 439 } 440 440 441 442 441 #ifdef DEBUG 442 443 443 static void paStreamCbReqWrite(pa_stream *pStream, size_t cbLen, void *pvContext) 444 444 { … … 506 506 Log2Func(("Warning: Hit overflow\n")); 507 507 } 508 508 509 #endif /* DEBUG */ 509 510 510 511 511 static void paStreamCbSuccess(pa_stream *pStream, int fSuccess, void *pvUser) … … 876 876 pCfgAcq->Props.cChannels = pStreamPA->SampleSpec.channels; 877 877 878 pCfgAcq->Backend.cFramesPeriod = PDMAUDIOSTREAMCFG_B2F(pCfgAcq, pStreamPA->BufAttr.fragsize);879 pCfgAcq->Backend.cFramesBufferSize = pCfgAcq->Backend.cFramesBufferSize;880 pCfgAcq->Backend.cFramesPreBuffering 878 pCfgAcq->Backend.cFramesPeriod = PDMAUDIOSTREAMCFG_B2F(pCfgAcq, pStreamPA->BufAttr.fragsize); 879 pCfgAcq->Backend.cFramesBufferSize = pCfgAcq->Backend.cFramesPeriod; 880 pCfgAcq->Backend.cFramesPreBuffering = pCfgAcq->Backend.cFramesPeriod; 881 881 882 882 LogFlowFuncLeaveRC(rc); … … 891 891 void *pvBuf, uint32_t uBufSize, uint32_t *puRead) 892 892 { 893 RT_NOREF(pvBuf, uBufSize);894 893 AssertPtrReturn(pInterface, VERR_INVALID_POINTER); 895 894 AssertPtrReturn(pStream, VERR_INVALID_POINTER); 896 895 AssertPtrReturn(pvBuf, VERR_INVALID_POINTER); 897 AssertReturn(uBufSize, 896 AssertReturn(uBufSize, VERR_INVALID_PARAMETER); 898 897 /* pcbRead is optional. */ 899 898
Note:
See TracChangeset
for help on using the changeset viewer.