Changeset 89501 in vbox for trunk/src/VBox/ValidationKit
- Timestamp:
- Jun 4, 2021 10:30:49 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/utils/audio/vkat.cpp
r89490 r89501 913 913 char szFlags[PDMAUDIOHOSTDEV_MAX_FLAGS_STRING_LEN]; 914 914 if (pDev->pszId) 915 RTTestPrintf(g_hTest, RTTESTLVL_ALWAYS, "Enum: Device '%s' (ID '%s'):\n", pDev-> szName, pDev->pszId);915 RTTestPrintf(g_hTest, RTTESTLVL_ALWAYS, "Enum: Device '%s' (ID '%s'):\n", pDev->pszName, pDev->pszId); 916 916 else 917 RTTestPrintf(g_hTest, RTTESTLVL_ALWAYS, "Enum: Device '%s':\n", pDev-> szName);917 RTTestPrintf(g_hTest, RTTESTLVL_ALWAYS, "Enum: Device '%s':\n", pDev->pszName); 918 918 RTTestPrintf(g_hTest, RTTESTLVL_ALWAYS, "Enum: Usage = %s\n", PDMAudioDirGetName(pDev->enmUsage)); 919 919 RTTestPrintf(g_hTest, RTTESTLVL_ALWAYS, "Enum: Flags = %s\n", PDMAudioHostDevFlagsToString(szFlags, pDev->fFlags)); … … 922 922 923 923 if ( pszDev 924 && !RTStrCmp(pDev-> szName, pszDev))924 && !RTStrCmp(pDev->pszName, pszDev)) 925 925 { 926 926 *ppDev = pDev; … … 953 953 int rc = VINF_SUCCESS; 954 954 955 RTTestSubF(g_hTest, "Opening audio device '%s' ...", pDev-> szName);955 RTTestSubF(g_hTest, "Opening audio device '%s' ...", pDev->pszName); 956 956 957 957 /** @todo Detect + open device here. */ … … 972 972 int rc = VINF_SUCCESS; 973 973 974 RTTestSubF(g_hTest, "Closing audio device '%s' ...", pDev-> szName);974 RTTestSubF(g_hTest, "Closing audio device '%s' ...", pDev->pszName); 975 975 976 976 /** @todo Close device here. */ … … 1254 1254 RTTestPrintf(g_hTest, RTTESTLVL_ALWAYS, "Test #%u: %RU32 iterations\n", uSeq, TstParms.cIterations); 1255 1255 1256 if ( strlen(TstParms.Dev.szName)) /** @todo Refine this check.*/1256 if (TstParms.Dev.pszName && strlen(TstParms.Dev.pszName)) /** @todo Refine this check. Use pszId for starters! */ 1257 1257 rc = audioTestDeviceOpen(&TstParms.Dev); 1258 1258 … … 1771 1771 RTListForEach(&Enum.LstDevices, pHostDev, PDMAUDIOHOSTDEV, ListEntry) 1772 1772 { 1773 RTPrintf("\nDevice \"%s\":\n", pHostDev-> szName);1773 RTPrintf("\nDevice \"%s\":\n", pHostDev->pszName); 1774 1774 1775 1775 char szFlags[PDMAUDIOHOSTDEV_MAX_FLAGS_STRING_LEN];
Note:
See TracChangeset
for help on using the changeset viewer.