- Timestamp:
- Oct 15, 2018 10:01:48 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/DrvAudioVideoRec.cpp
r73838 r74841 524 524 525 525 /* Every Opus frame marks a period for now. Optimize this later. */ 526 pCfgAcq->Backend.cfPeriod = DrvAudioHlpMilliToFrames(pSink->Codec.Opus.msFrame, &pCfgAcq->Props); /** @todo Make this configurable. */ 526 pCfgAcq->Backend.cfPeriod = DrvAudioHlpMilliToFrames(pSink->Codec.Opus.msFrame, &pCfgAcq->Props); 527 pCfgAcq->Backend.cfBufferSize = DrvAudioHlpMilliToFrames(100 /* ms */, &pCfgAcq->Props); /** @todo Make this configurable. */ 528 pCfgAcq->Backend.cfPreBuf = pCfgAcq->Backend.cfPeriod * 2; 527 529 } 528 530 }
Note:
See TracChangeset
for help on using the changeset viewer.