Changeset 90868 in vbox
- Timestamp:
- Aug 25, 2021 10:12:34 AM (3 years ago)
- Location:
- trunk/src/VBox
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/AudioTestService.cpp
r90867 r90868 21 21 *********************************************************************************************************************************/ 22 22 #define LOG_GROUP LOG_GROUP_AUDIO_TEST 23 #include <iprt/log.h> 23 24 24 25 #include <iprt/alloca.h> … … 37 38 #include <iprt/json.h> 38 39 #include <iprt/list.h> 39 #include <iprt/log.h>40 40 #include <iprt/mem.h> 41 41 #include <iprt/message.h> … … 997 997 rc = RTPipeWrite(pThis->hPipeW, "", 1, &cbWritten); 998 998 if (RT_FAILURE(rc)) 999 RTMsgError("Failed to inform worker thread of a new client");999 LogRel(("Failed to inform worker thread of a new client, rc=%Rrc\n", rc)); 1000 1000 } 1001 1001 else 1002 1002 { 1003 RTMsgError("Creating new client structure failed with out of memory error\n");1003 LogRel(("Creating new client structure failed with out of memory error\n")); 1004 1004 pThis->pTransport->pfnNotifyBye(pThis->pTransportInst, pTransportClient); 1005 1005 } … … 1062 1062 return VINF_SUCCESS; 1063 1063 else 1064 RTMsgError("Creating the client worker thread failed with %Rrc\n", rc);1064 LogRel(("Creating the client worker thread failed with %Rrc\n", rc)); 1065 1065 1066 1066 RTPipeClose(pThis->hPipeR); … … 1068 1068 } 1069 1069 else 1070 RTMsgError("Creating communications pipe failed with %Rrc\n", rc);1070 LogRel(("Creating communications pipe failed with %Rrc\n", rc)); 1071 1071 1072 1072 RTPollSetDestroy(pThis->hPollSet); 1073 1073 } 1074 1074 else 1075 RTMsgError("Creating pollset failed with %Rrc\n", rc);1075 LogRel(("Creating pollset failed with %Rrc\n", rc)); 1076 1076 1077 1077 RTCritSectDelete(&pThis->CritSectClients); 1078 1078 } 1079 1079 else 1080 RTMsgError("Creating global critical section failed with %Rrc\n", rc);1080 LogRel(("Creating global critical section failed with %Rrc\n", rc)); 1081 1081 1082 1082 return rc; -
trunk/src/VBox/Devices/Audio/AudioTestServiceTcp.cpp
r90830 r90868 21 21 *********************************************************************************************************************************/ 22 22 #define LOG_GROUP LOG_GROUP_AUDIO_TEST 23 #include <iprt/log.h> 24 23 25 #include <iprt/asm.h> 24 26 #include <iprt/assert.h> 25 27 #include <iprt/critsect.h> 26 28 #include <iprt/err.h> 27 #include <iprt/log.h>28 29 #include <iprt/mem.h> 29 30 #include <iprt/message.h> … … 313 314 int rc; 314 315 316 LogFunc(("enmMode=%#x\n", pThis->enmMode)); 317 315 318 if (pThis->enmMode == ATSTCPMODE_SERVER) 316 319 { … … 414 417 int rc = RTTcpServerDestroy(pThis->pTcpServer); 415 418 if (RT_FAILURE(rc)) 416 RTMsgInfo("RTTcpServerDestroy failed in atsTcpNotifyReboot: %Rrc", rc);419 LogRel(("RTTcpServerDestroy failed in atsTcpNotifyReboot: %Rrc", rc)); 417 420 pThis->pTcpServer = NULL; 418 421 } … … 680 683 int rc = RTTcpServerDestroy(pThis->pTcpServer); 681 684 if (RT_FAILURE(rc)) 682 RTMsgInfo("RTTcpServerDestroy failed in atsTcpTerm: %Rrc", rc);685 LogRel(("RTTcpServerDestroy failed in atsTcpTerm: %Rrc", rc)); 683 686 pThis->pTcpServer = NULL; 684 687 } … … 735 738 if (rc == VERR_NET_DOWN) 736 739 { 737 RTMsgInfo("RTTcpServerCreateEx(%s, %u,) failed: %Rrc, retrying for 20 seconds...\n",738 pThis->szBindAddr[0] ? pThis->szBindAddr : NULL, pThis->uBindPort, rc);740 LogRel2(("RTTcpServerCreateEx(%s, %u,) failed: %Rrc, retrying for 20 seconds...\n", 741 pThis->szBindAddr[0] ? pThis->szBindAddr : NULL, pThis->uBindPort, rc)); 739 742 uint64_t StartMs = RTTimeMilliTS(); 740 743 do … … 745 748 && RTTimeMilliTS() - StartMs < 20000); 746 749 if (RT_SUCCESS(rc)) 747 RTMsgInfo("RTTcpServerCreateEx succceeded.\n");750 LogRel2(("RTTcpServerCreateEx succceeded\n")); 748 751 } 749 752 750 753 if (RT_FAILURE(rc)) 751 754 { 752 RTMsgError("RTTcpServerCreateEx(%s, %u,) failed: %Rrc\n",753 pThis->szBindAddr[0] ? pThis->szBindAddr : NULL, pThis->uBindPort, rc);755 LogRel(("RTTcpServerCreateEx(%s, %u,) failed: %Rrc\n", 756 pThis->szBindAddr[0] ? pThis->szBindAddr : NULL, pThis->uBindPort, rc)); 754 757 } 755 758 } -
trunk/src/VBox/ValidationKit/utils/audio/vkatCommon.cpp
r90851 r90868 29 29 * Header Files * 30 30 *********************************************************************************************************************************/ 31 #define LOG_GROUP LOG_GROUP_AUDIO_TEST 32 #include <iprt/log.h> 31 33 32 34 #include <iprt/ctype.h> … … 526 528 PAUDIOTESTENV pTstEnv = pCtx->pTstEnv; 527 529 528 RTTestPrintf(g_hTest, RTTESTLVL_ DEBUG, "Beginning test set '%s' in '%s'\n", pszTag, pTstEnv->szPathTemp);530 RTTestPrintf(g_hTest, RTTESTLVL_ALWAYS, "Beginning test set '%s' in '%s'\n", pszTag, pTstEnv->szPathTemp); 529 531 530 532 return AudioTestSetCreate(&pTstEnv->Set, pTstEnv->szPathTemp, pszTag); … … 540 542 PAUDIOTESTENV pTstEnv = pCtx->pTstEnv; 541 543 542 RTTestPrintf(g_hTest, RTTESTLVL_ DEBUG, "Ending test set '%s'\n", pszTag);544 RTTestPrintf(g_hTest, RTTESTLVL_ALWAYS, "Ending test set '%s'\n", pszTag); 543 545 544 546 /* Pack up everything to be ready for transmission. */ -
trunk/src/VBox/ValidationKit/utils/audio/vkatDriverStack.cpp
r90776 r90868 29 29 * Header Files * 30 30 *********************************************************************************************************************************/ 31 #define LOG_GROUP LOG_GROUP_AUDIO_TEST 32 #include <iprt/log.h> 33 31 34 #include <iprt/errcore.h> 32 35 #include <iprt/message.h> … … 854 857 if (pDrvStack->pIAudioConnector) 855 858 { 859 RTTestPrintf(g_hTest, RTTESTLVL_ALWAYS, "Destroying stream '%s' (IAudioConnector) ...\n", pStream->Cfg.szName); 856 860 int rc = pDrvStack->pIAudioConnector->pfnStreamDestroy(pDrvStack->pIAudioConnector, pStream, true /*fImmediate*/); 857 861 if (RT_FAILURE(rc)) … … 860 864 else 861 865 { 866 RTTestPrintf(g_hTest, RTTESTLVL_ALWAYS, "Destroying stream '%s' (IHostAudio) ...\n", pStream->Cfg.szName); 862 867 PAUDIOTESTDRVSTACKSTREAM pStreamAt = (PAUDIOTESTDRVSTACKSTREAM)pStream; 863 868 int rc = pDrvStack->pIHostAudio->pfnStreamDestroy(pDrvStack->pIHostAudio, &pStreamAt->Backend, true /*fImmediate*/); … … 871 876 RTTestFailed(g_hTest, "PDMIHOSTAUDIO::pfnStreamDestroy failed: %Rrc", rc); 872 877 } 878 879 RTTestPrintf(g_hTest, RTTESTLVL_ALWAYS, "Destroying stream '%s' done\n", pStream->Cfg.szName); 873 880 } 874 881 } … … 1515 1522 return VINF_SUCCESS; 1516 1523 } 1517
Note:
See TracChangeset
for help on using the changeset viewer.