VirtualBox

Changeset 68389 in vbox


Ignore:
Timestamp:
Aug 11, 2017 11:52:26 AM (7 years ago)
Author:
vboxsync
Message:

Audio: Logging: Don't include LUN# in stream names anymore; the driver name now is being used for easier identification (see r117519).

Location:
trunk/src/VBox/Devices/Audio
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Audio/DevHDA.cpp

    r68137 r68389  
    19711971        }
    19721972
    1973         /* Include the driver's LUN in the stream name for easier identification. */
    1974         RTStrPrintf(pStreamCfg->szName, RT_ELEMENTS(pStreamCfg->szName), "[LUN#%RU8] %s", pDrv->uLUN, pCfg->szName);
     1973        RTStrPrintf(pStreamCfg->szName, RT_ELEMENTS(pStreamCfg->szName), "%s", pCfg->szName);
    19751974
    19761975        if (pStreamCfg->enmDir == PDMAUDIODIR_IN)
  • trunk/src/VBox/Devices/Audio/DevIchAc97.cpp

    r68377 r68389  
    14631463        }
    14641464
    1465         if (!RTStrPrintf(pStreamCfg->szName, sizeof(pStreamCfg->szName), "[LUN#%RU8] %s", pDrv->uLUN, pCfg->szName))
     1465        if (!RTStrPrintf(pStreamCfg->szName, sizeof(pStreamCfg->szName), "%s", pCfg->szName))
    14661466        {
    14671467            RTMemFree(pStreamCfg);
     
    14711471        }
    14721472
    1473         LogFunc(("%s\n", pStreamCfg->szName));
     1473        LogFunc(("[LUN#%RU8] %s\n", pDrv->uLUN, pStreamCfg->szName));
    14741474
    14751475        int rc2 = VINF_SUCCESS;
  • trunk/src/VBox/Devices/Audio/DevSB16.cpp

    r68272 r68389  
    21722172    CfgHost.Props.cShift    = PDMAUDIOPCMPROPS_MAKE_SHIFT_PARMS(CfgHost.Props.cBits, CfgHost.Props.cChannels);
    21732173
    2174     RTStrPrintf(CfgHost.szName, sizeof(CfgHost.szName), "sb16.po");
     2174    RTStrPrintf(CfgHost.szName, sizeof(CfgHost.szName), "Output");
    21752175
    21762176    uint8_t uLUN = 0;
     
    21812181    RTListForEach(&pThis->lstDrv, pDrv, SB16DRIVER, Node)
    21822182    {
    2183         if (!RTStrPrintf(pCfg->szName, sizeof(pCfg->szName), "[LUN#%RU8] %s (%RU32Hz, %RU8 %s)",
    2184                          pDrv->uLUN, CfgHost.szName,
    2185                          pCfg->Props.uHz, pCfg->Props.cChannels, pCfg->Props.cChannels > 1 ? "Channels" : "Channel"))
     2183        if (!RTStrPrintf(pCfg->szName, sizeof(pCfg->szName), "%s", CfgHost.szName))
    21862184        {
    21872185            rc = VERR_BUFFER_OVERFLOW;
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