VirtualBox

Changeset 89501 in vbox for trunk/src/VBox/ValidationKit


Ignore:
Timestamp:
Jun 4, 2021 10:30:49 AM (4 years ago)
Author:
vboxsync
Message:

ValKit/Audio: PDMAUDIOHOSTDEV::szName -> pszName. bugref:10008

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/utils/audio/vkat.cpp

    r89490 r89501  
    913913            char szFlags[PDMAUDIOHOSTDEV_MAX_FLAGS_STRING_LEN];
    914914            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);
    916916            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);
    918918            RTTestPrintf(g_hTest, RTTESTLVL_ALWAYS, "Enum:   Usage           = %s\n",   PDMAudioDirGetName(pDev->enmUsage));
    919919            RTTestPrintf(g_hTest, RTTESTLVL_ALWAYS, "Enum:   Flags           = %s\n",   PDMAudioHostDevFlagsToString(szFlags, pDev->fFlags));
     
    922922
    923923            if (   pszDev
    924                 && !RTStrCmp(pDev->szName, pszDev))
     924                && !RTStrCmp(pDev->pszName, pszDev))
    925925            {
    926926                *ppDev = pDev;
     
    953953    int rc = VINF_SUCCESS;
    954954
    955     RTTestSubF(g_hTest, "Opening audio device '%s' ...", pDev->szName);
     955    RTTestSubF(g_hTest, "Opening audio device '%s' ...", pDev->pszName);
    956956
    957957    /** @todo Detect + open device here. */
     
    972972    int rc = VINF_SUCCESS;
    973973
    974     RTTestSubF(g_hTest, "Closing audio device '%s' ...", pDev->szName);
     974    RTTestSubF(g_hTest, "Closing audio device '%s' ...", pDev->pszName);
    975975
    976976    /** @todo Close device here. */
     
    12541254    RTTestPrintf(g_hTest, RTTESTLVL_ALWAYS, "Test #%u: %RU32 iterations\n", uSeq, TstParms.cIterations);
    12551255
    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! */
    12571257        rc = audioTestDeviceOpen(&TstParms.Dev);
    12581258
     
    17711771                RTListForEach(&Enum.LstDevices, pHostDev, PDMAUDIOHOSTDEV, ListEntry)
    17721772                {
    1773                     RTPrintf("\nDevice \"%s\":\n", pHostDev->szName);
     1773                    RTPrintf("\nDevice \"%s\":\n", pHostDev->pszName);
    17741774
    17751775                    char szFlags[PDMAUDIOHOSTDEV_MAX_FLAGS_STRING_LEN];
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette