Changeset 68389 in vbox
- Timestamp:
- Aug 11, 2017 11:52:26 AM (7 years ago)
- Location:
- trunk/src/VBox/Devices/Audio
- Files:
-
- 3 edited
-
DevHDA.cpp (modified) (1 diff)
-
DevIchAc97.cpp (modified) (2 diffs)
-
DevSB16.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DevHDA.cpp
r68137 r68389 1971 1971 } 1972 1972 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); 1975 1974 1976 1975 if (pStreamCfg->enmDir == PDMAUDIODIR_IN) -
trunk/src/VBox/Devices/Audio/DevIchAc97.cpp
r68377 r68389 1463 1463 } 1464 1464 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)) 1466 1466 { 1467 1467 RTMemFree(pStreamCfg); … … 1471 1471 } 1472 1472 1473 LogFunc((" %s\n", pStreamCfg->szName));1473 LogFunc(("[LUN#%RU8] %s\n", pDrv->uLUN, pStreamCfg->szName)); 1474 1474 1475 1475 int rc2 = VINF_SUCCESS; -
trunk/src/VBox/Devices/Audio/DevSB16.cpp
r68272 r68389 2172 2172 CfgHost.Props.cShift = PDMAUDIOPCMPROPS_MAKE_SHIFT_PARMS(CfgHost.Props.cBits, CfgHost.Props.cChannels); 2173 2173 2174 RTStrPrintf(CfgHost.szName, sizeof(CfgHost.szName), " sb16.po");2174 RTStrPrintf(CfgHost.szName, sizeof(CfgHost.szName), "Output"); 2175 2175 2176 2176 uint8_t uLUN = 0; … … 2181 2181 RTListForEach(&pThis->lstDrv, pDrv, SB16DRIVER, Node) 2182 2182 { 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)) 2186 2184 { 2187 2185 rc = VERR_BUFFER_OVERFLOW;
Note:
See TracChangeset
for help on using the changeset viewer.

