- Timestamp:
- Aug 20, 2018 1:14:35 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DrvAudio.cpp
r73731 r73785 2303 2303 } 2304 2304 2305 if (cfReadTotal) 2306 { 2307 if (pThis->In.Cfg.Dbg.fEnabled) 2308 DrvAudioHlpFileWrite(pStream->In.Dbg.pFileStreamRead, 2309 pvBuf, AUDIOMIXBUF_F2B(&pStream->Guest.MixBuf, cfReadTotal), 0 /* fFlags */); 2310 2311 AudioMixBufFinish(&pStream->Guest.MixBuf, cfReadTotal); 2312 } 2313 2305 2314 /* If we were not able to read as much data as requested, fill up the returned 2306 2315 * data with silence. … … 2321 2330 } 2322 2331 2323 if (cfReadTotal) 2324 { 2325 if (pThis->In.Cfg.Dbg.fEnabled) 2326 DrvAudioHlpFileWrite(pStream->In.Dbg.pFileStreamRead, 2327 pvBuf, AUDIOMIXBUF_F2B(&pStream->Guest.MixBuf, cfReadTotal), 0 /* fFlags */); 2328 2329 AudioMixBufFinish(&pStream->Guest.MixBuf, cfReadTotal); 2330 2331 cbReadTotal = AUDIOMIXBUF_F2B(&pStream->Guest.MixBuf, cfReadTotal); 2332 } 2332 cbReadTotal = AUDIOMIXBUF_F2B(&pStream->Guest.MixBuf, cfReadTotal); 2333 2333 2334 2334 pStream->tsLastReadWrittenNs = RTTimeNanoTS();
Note:
See TracChangeset
for help on using the changeset viewer.