- Timestamp:
- Aug 22, 2018 8:36:02 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DrvAudio.cpp
r73785 r73812 955 955 else 956 956 { 957 Log3Func(("[%s] Buffer:Writing %RU32 frames (%RU64ms), now filled with %RU64ms -- %RU8%%\n",957 Log3Func(("[%s] Writing %RU32 frames (%RU64ms), now filled with %RU64ms -- %RU8%%\n", 958 958 pStream->szName, cfGstWritten, DrvAudioHlpFramesToMilli(cfGstWritten, &pStream->Guest.Cfg.Props), 959 959 DrvAudioHlpFramesToMilli(AudioMixBufUsed(&pStream->Host.MixBuf), &pStream->Host.Cfg.Props), … … 981 981 } 982 982 983 Log3Func(("[%s] cbToWrite=%RU32, cfHstUsed=%RU32, cfHstfLive=%RU32, cfGstWritten=%RU32, cfGstMixed=%RU32, rc=%Rrc\n", 984 pStream->szName, cbToWrite, AudioMixBufUsed(&pStream->Host.MixBuf), 985 AudioMixBufLive(&pStream->Host.MixBuf), cfGstWritten, cfGstMixed, rc)); 983 Log3Func(("[%s] Dbg: cbBuf=%RU32, cbToWrite=%RU32, cfHstUsed=%RU32, cfHstfLive=%RU32, cfGstWritten=%RU32, " 984 "cfGstMixed=%RU32, cbWrittenTotal=%RU32, rc=%Rrc\n", 985 pStream->szName, cbBuf, cbToWrite, AudioMixBufUsed(&pStream->Host.MixBuf), 986 AudioMixBufLive(&pStream->Host.MixBuf), cfGstWritten, cfGstMixed, cbWrittenTotal, rc)); 986 987 987 988 } while (0); 988 989 Log3Func(("[%s] cbWrittenTotal=%RU32, rc=%Rrc\n", pStream->szName, cbWrittenTotal, rc));990 989 991 990 #ifdef LOG_ENABLED … … 1410 1409 const uint64_t tsDeltaPlayedCapturedNs = RTTimeNanoTS() - pStream->tsLastPlayedCapturedNs; 1411 1410 1412 uint32_t cfPassed 1411 uint32_t cfPassedReal = DrvAudioHlpNanoToFrames(tsDeltaPlayedCapturedNs, &pStream->Host.Cfg.Props); 1413 1412 #endif 1414 1413 const uint32_t cfPeriod = pStream->Host.Cfg.Backend.cfPeriod; … … 1426 1425 { 1427 1426 LogRel2(("Audio: Stream '%s' buffering complete\n", pStream->szName)); 1427 Log3Func(("[%s] Dbg: Buffering complete\n", pStream->szName)); 1428 1428 fDoPlay = true; 1429 1429 } … … 1437 1437 { 1438 1438 LogRel2(("Audio: Stream '%s' buffering complete (short sound)\n", pStream->szName)); 1439 Log3Func(("[%s] Dbg: Buffering complete (short)\n", pStream->szName)); 1439 1440 fDoPlay = true; 1440 1441 } … … 1445 1446 fJustStarted = true; 1446 1447 LogRel2(("Audio: Stream '%s' started playing\n", pStream->szName)); 1448 Log3Func(("[%s] Dbg: started playing\n", pStream->szName)); 1447 1449 } 1448 1450 else /* Not yet, so still buffering audio data. */ … … 1505 1507 } 1506 1508 1507 Log3Func(("[%s] Dbg: fJustStarted=%RTbool, cfPassed=%RU32 (%RU64ms), cfLive=%RU32 (%RU64ms), cfPeriod=%RU32 (%RU64ms), " 1508 "cfWritable=%RU32 (%RU64ms), -> cfToPlay=%RU32 (%RU64ms), cfPlayed=%RU32 (%RU64ms)\n", 1509 Log3Func(("[%s] Dbg: fJustStarted=%RTbool, cfSched=%RU32 (%RU64ms), cfPassedReal=%RU32 (%RU64ms), " 1510 "cfLive=%RU32 (%RU64ms), cfPeriod=%RU32 (%RU64ms), cfWritable=%RU32 (%RU64ms), " 1511 "-> cfToPlay=%RU32 (%RU64ms), cfPlayed=%RU32 (%RU64ms)\n", 1509 1512 pStream->szName, fJustStarted, 1510 cfPassed, DrvAudioHlpFramesToMilli(cfPassed, &pStream->Host.Cfg.Props), 1513 DrvAudioHlpMilliToFrames(pStream->Guest.Cfg.Device.uSchedulingHintMs, &pStream->Host.Cfg.Props), 1514 pStream->Guest.Cfg.Device.uSchedulingHintMs, 1515 cfPassedReal, DrvAudioHlpFramesToMilli(cfPassedReal, &pStream->Host.Cfg.Props), 1511 1516 cfLive, DrvAudioHlpFramesToMilli(cfLive, &pStream->Host.Cfg.Props), 1512 1517 cfPeriod, DrvAudioHlpFramesToMilli(cfPeriod, &pStream->Host.Cfg.Props),
Note:
See TracChangeset
for help on using the changeset viewer.