Changeset 92448 in vbox for trunk/src/VBox/ValidationKit/utils/audio/vkatCommon.cpp
- Timestamp:
- Nov 16, 2021 10:32:51 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/utils/audio/vkatCommon.cpp
r92447 r92448 756 756 uint32_t const cbBeacon = AudioTestBeaconGetSize(&Beacon); 757 757 if (cbBeacon) 758 { 758 759 RTTestPrintf(g_hTest, RTTESTLVL_ALWAYS, "Expecting 2 x %RU32 bytes pre/post beacons\n", cbBeacon); 760 if (g_uVerbosity >= 2) 761 RTTestPrintf(g_hTest, RTTESTLVL_ALWAYS, "Waiting for %s beacon ...\n", 762 AudioTestBeaconTypeGetName(Beacon.enmType)); 763 } 759 764 760 765 AudioTestObjAddMetadataStr(Obj, "test_id=%04RU32\n", pParms->Hdr.idxTest); … … 828 833 829 834 if ( fStarted 830 && g_uVerbosity >= 2)835 && g_uVerbosity >= 3) 831 836 RTTestPrintf(g_hTest, RTTESTLVL_ALWAYS, 832 837 "Detection of %s beacon started (%RU32ms recorded so far)\n", … … 837 842 { 838 843 if (g_uVerbosity >= 2) 839 RTTestPrintf(g_hTest, RTTESTLVL_ALWAYS, "Detect ion of %s beacon ended\n",844 RTTestPrintf(g_hTest, RTTESTLVL_ALWAYS, "Detected %s beacon\n", 840 845 AudioTestBeaconTypeGetName(Beacon.enmType)); 841 846 … … 869 874 { 870 875 enmState = AUDIOTESTSTATE_POST; 871 /* Re-use the beacon object, but this time it's the post beacon. */ 872 AudioTestBeaconInit(&Beacon, (uint8_t)pParms->Hdr.idxTest, AUDIOTESTTONEBEACONTYPE_PLAY_POST, 873 &pStream->Cfg.Props); 876 877 if (g_uVerbosity >= 2) 878 RTTestPrintf(g_hTest, RTTESTLVL_ALWAYS, "Recording tone data done"); 879 880 if (AudioTestBeaconGetSize(&Beacon)) 881 { 882 /* Re-use the beacon object, but this time it's the post beacon. */ 883 AudioTestBeaconInit(&Beacon, (uint8_t)pParms->Hdr.idxTest, AUDIOTESTTONEBEACONTYPE_PLAY_POST, 884 &pStream->Cfg.Props); 885 if (g_uVerbosity >= 2) 886 RTTestPrintf(g_hTest, RTTESTLVL_ALWAYS, 887 "Waiting for %s beacon ...", AudioTestBeaconTypeGetName(Beacon.enmType)); 888 } 874 889 } 875 890 break;
Note:
See TracChangeset
for help on using the changeset viewer.