Changeset 75965 in vbox for trunk/src/VBox/Devices/Audio
- Timestamp:
- Dec 5, 2018 10:23:54 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DevHDA.cpp
r75964 r75965 1295 1295 u32Value &= 0x00ffffff; 1296 1296 1297 bool fRun = RT_BOOL(u32Value & HDA_SDCTL_RUN); 1298 bool fInRun = RT_BOOL(HDA_REG_IND(pThis, iReg) & HDA_SDCTL_RUN); 1299 1300 bool fReset = RT_BOOL(u32Value & HDA_SDCTL_SRST); 1301 bool fInReset = RT_BOOL(HDA_REG_IND(pThis, iReg) & HDA_SDCTL_SRST); 1297 const bool fRun = RT_BOOL(u32Value & HDA_SDCTL_RUN); 1298 const bool fInRun = RT_BOOL(HDA_REG_IND(pThis, iReg) & HDA_SDCTL_RUN); 1299 1300 const bool fReset = RT_BOOL(u32Value & HDA_SDCTL_SRST); 1301 const bool fInReset = RT_BOOL(HDA_REG_IND(pThis, iReg) & HDA_SDCTL_SRST); 1302 1303 # ifdef LOG_ENABLED 1304 if (fRun) 1305 { 1306 PDMAUDIOPCMPROPS Props; 1307 int rc2 = hdaR3SDFMTToPCMProps(HDA_STREAM_REG(pThis, FMT, uSD), &Props); 1308 AssertRC(rc2); 1309 LogFunc(("[SD%RU8] %RU32Hz, %RU8bit, %RU8 channel(s)\n", 1310 uSD, Props.uHz, Props.cBytes * 8 /* Bit */, Props.cChannels)); 1311 } 1312 # endif 1302 1313 1303 1314 LogFunc(("[SD%RU8] fRun=%RTbool, fInRun=%RTbool, fReset=%RTbool, fInReset=%RTbool, %R[sdctl]\n",
Note:
See TracChangeset
for help on using the changeset viewer.