Changeset 92438 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Nov 15, 2021 6:54:43 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DrvHostAudioValidationKit.cpp
r92396 r92438 516 516 517 517 pTst->t.TestTone.u.Rec.cbToWrite = PDMAudioPropsMilliToBytes(pProps, 518 518 pTst->t.TestTone.Parms.msDuration); 519 519 520 520 /* We inject a pre + post beacon before + after the actual test tone. … … 525 525 if (RT_SUCCESS(rc)) 526 526 { 527 LogRel(("ValKit: Registering guest recording test #%RU32 (%RU32ms, %RU64 bytes , host test #%RU32)\n",527 LogRel(("ValKit: Registering guest recording test #%RU32 (%RU32ms, %RU64 bytes) as test #%RU32\n", 528 528 pThis->cTestsRec, pTst->t.TestTone.Parms.msDuration, pTst->t.TestTone.u.Rec.cbToWrite, 529 529 pToneParms->Hdr.idxTest)); … … 531 531 const uint32_t cbBeacon = AudioTestBeaconGetSize(&pTst->t.TestTone.Beacon); 532 532 if (cbBeacon) 533 LogRel2(("ValKit: Guest recording test #%RU32 includes 2 x %RU32 bytes of pre/post beacons\n",534 pT his->cTestsRec, cbBeacon));533 LogRel2(("ValKit: Test #%RU32: Uses 2 x %RU32 bytes of pre/post beacons\n", 534 pToneParms->Hdr.idxTest, cbBeacon)); 535 535 536 536 RTListAppend(&pThis->lstTestsRec, &pTst->Node); … … 571 571 572 572 pTst->t.TestTone.u.Play.cbToRead = PDMAudioPropsMilliToBytes(pProps, 573 573 pTst->t.TestTone.Parms.msDuration); 574 574 575 575 /* We play a pre + post beacon before + after the actual test tone. … … 580 580 if (RT_SUCCESS(rc)) 581 581 { 582 LogRel(("ValKit: Registering guest playback test #%RU32 (%RU32ms, %RU64 bytes , host test #%RU32)\n",582 LogRel(("ValKit: Registering guest playback test #%RU32 (%RU32ms, %RU64 bytes) as test #%RU32\n", 583 583 pThis->cTestsPlay, pTst->t.TestTone.Parms.msDuration, pTst->t.TestTone.u.Play.cbToRead, 584 584 pToneParms->Hdr.idxTest)); … … 586 586 const uint32_t cbBeacon = AudioTestBeaconGetSize(&pTst->t.TestTone.Beacon); 587 587 if (cbBeacon) 588 LogRel2(("ValKit: Guest playback test #%RU32 includes 2x %RU32 bytes of pre/post beacons\n",589 pT his->cTestsPlay, cbBeacon));588 LogRel2(("ValKit: Test #%RU32: Uses x %RU32 bytes of pre/post beacons\n", 589 pToneParms->Hdr.idxTest, cbBeacon)); 590 590 591 591 RTListAppend(&pThis->lstTestsPlay, &pTst->Node); … … 1058 1058 } 1059 1059 1060 LogRel4(("Playback audio data (%RU32 bytes):\n" 1060 LogRel3(("ValKit: Test #%RU32: Playing stream '%s' (%RU32 bytes / %RU64ms) -- state is '%s' ...\n", 1061 pTst->idxTest, pStream->pStream->Cfg.szName, 1062 cbBuf, PDMAudioPropsBytesToMilli(&pStream->pStream->Cfg.Props, cbBuf), 1063 AudioTestStateToStr(pTst->enmState))); 1064 1065 LogRel4(("ValKit: Playback audio data (%RU32 bytes):\n" 1061 1066 "%.*Rhxd\n", cbBuf, cbBuf, pvBuf)); 1062 1067 … … 1088 1093 } 1089 1094 } 1090 1091 LogRel3(("ValKit: Test #%RU32: Playing stream '%s' (%RU32 bytes / %RU64ms) -- state is '%s' ...\n",1092 pTst->idxTest, pStream->pStream->Cfg.szName,1093 cbBuf, PDMAudioPropsBytesToMilli(&pStream->pStream->Cfg.Props, cbBuf),1094 AudioTestStateToStr(pTst->enmState)));1095 1095 1096 1096 uint32_t cbWritten = 0; … … 1284 1284 } 1285 1285 1286 LogRel4((" Capture audio data (%RU32 bytes):\n"1286 LogRel4(("ValKit: Capture audio data (%RU32 bytes):\n" 1287 1287 "%.*Rhxd\n", cbBuf, cbBuf, pvBuf)); 1288 1288
Note:
See TracChangeset
for help on using the changeset viewer.