- Timestamp:
- Jan 9, 2019 5:58:01 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DrvAudio.cpp
r76727 r76748 993 993 else 994 994 { 995 Log3Func(("[%s] Writing %RU32 frames (%RU64ms), now filled with %RU64ms -- %RU8%%\n", 996 pStream->szName, cfGstWritten, DrvAudioHlpFramesToMilli(cfGstWritten, &pStream->Guest.Cfg.Props), 995 const uint64_t tsNowNs = RTTimeNanoTS(); 996 997 Log3Func(("[%s] Writing %RU32 frames (%RU64ms)\n", 998 pStream->szName, cfGstWritten, DrvAudioHlpFramesToMilli(cfGstWritten, &pStream->Guest.Cfg.Props))); 999 1000 Log3Func(("[%s] Last written %RU64ns (%RU64ms), now filled with %RU64ms -- %RU8%%\n", 1001 pStream->szName, tsNowNs - pStream->tsLastReadWrittenNs, 1002 (tsNowNs - pStream->tsLastReadWrittenNs) / RT_NS_1MS, 997 1003 DrvAudioHlpFramesToMilli(AudioMixBufUsed(&pStream->Host.MixBuf), &pStream->Host.Cfg.Props), 998 1004 AudioMixBufUsed(&pStream->Host.MixBuf) * 100 / AudioMixBufSize(&pStream->Host.MixBuf))); 999 1005 1000 pStream->tsLastReadWrittenNs = RTTimeNanoTS();1006 pStream->tsLastReadWrittenNs = tsNowNs; 1001 1007 /* Keep going. */ 1002 1008 }
Note:
See TracChangeset
for help on using the changeset viewer.