Changeset 73675 in vbox for trunk/src/VBox/Devices/Audio
- Timestamp:
- Aug 14, 2018 6:55:18 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DrvAudio.cpp
r73660 r73675 2961 2961 } 2962 2962 else /* Set default pre-buffering size. */ 2963 pCfgReq->Backend.cfPreBuf = pCfgReq->Backend.cf BufferSize;2963 pCfgReq->Backend.cfPreBuf = pCfgReq->Backend.cfPeriod * 2; 2964 2964 2965 2965 LogRel2(("Audio: Using %s pre-buffering size (%RU64ms, %RU32 frames) for stream '%s'\n", … … 2981 2981 && pCfgReq->Backend.cfPreBuf) 2982 2982 { 2983 if (pCfgReq->Backend.cfBufferSize < pCfgReq->Backend.cfPreBuf)2984 { 2985 LogRel(("Audio: Error for stream '%s': Pre-buffering size (%RU64ms) must not be bigger than the buffersize (%RU64ms)\n",2983 if (pCfgReq->Backend.cfBufferSize <= pCfgReq->Backend.cfPreBuf) 2984 { 2985 LogRel(("Audio: Error for stream '%s': Buffering size (%RU64ms) must not be smaller as or equal to the pre-buffering size (%RU64ms)\n", 2986 2986 pStream->szName, DrvAudioHlpFramesToMilli(pCfgReq->Backend.cfPreBuf, &pCfgReq->Props), 2987 2987 DrvAudioHlpFramesToMilli(pCfgReq->Backend.cfBufferSize, &pCfgReq->Props)));
Note:
See TracChangeset
for help on using the changeset viewer.