Changeset 69717 in vbox
- Timestamp:
- Nov 16, 2017 2:55:34 PM (7 years ago)
- svn:sync-xref-src-repo-rev:
- 119098
- Location:
- trunk/src/VBox/Devices/Audio
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DevHDA.cpp
r69119 r69717 2876 2876 #endif 2877 2877 2878 pThis->cbCorbBuf = 256 * sizeof(uint32_t); /** @todo Use a define here. */2878 pThis->cbCorbBuf = HDA_CORB_SIZE * sizeof(uint32_t); 2879 2879 2880 2880 if (pThis->pu32CorbBuf) … … 2883 2883 pThis->pu32CorbBuf = (uint32_t *)RTMemAllocZ(pThis->cbCorbBuf); 2884 2884 2885 pThis->cbRirbBuf = 256 * sizeof(uint64_t); /** @todo Use a define here. */2885 pThis->cbRirbBuf = HDA_RIRB_SIZE * sizeof(uint64_t); 2886 2886 if (pThis->pu64RirbBuf) 2887 2887 RT_BZERO(pThis->pu64RirbBuf, pThis->cbRirbBuf); -
trunk/src/VBox/Devices/Audio/DevHDACommon.h
r69119 r69717 231 231 #define HDA_REG_CORBSIZE 21 /* 0x4E */ 232 232 #define HDA_RMX_CORBSIZE 19 233 /** NB: Up to and including ICH 10, sizes of CORB and RIRB are fixed at 256 entries. */ 233 234 /** Number of CORB buffer entries. */ 235 #define HDA_CORB_SIZE 256 236 /** Number of RIRB buffer entries. */ 237 #define HDA_RIRB_SIZE 256 234 238 235 239 #define HDA_REG_RIRBLBASE 22 /* 0x50 */
Note:
See TracChangeset
for help on using the changeset viewer.