- Timestamp:
- Nov 2, 2010 11:19:45 AM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 67305
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DevCodec.cpp
r33676 r33681 214 214 pNode->port.u32F07_param = 0xc0;//RT_BIT(6); 215 215 pNode->port.u32F08_param = 0; 216 pNode->port.u32F09_param = RT_BIT(31)|0x9920; /* 39.2 kOm */217 216 if (!pState->fInReset) 218 217 pNode->port.u32F1c_param = RT_MAKE_U32_FROM_U8(0x20, 0x40, 0x21, 0x02); … … 222 221 pNode->node.au32F00_param[0xC] = 0x1737; 223 222 pNode->node.au32F02_param[0] = 0x4; 224 pNode->port.u32F09_param = 0;225 223 pNode->port.u32F07_param = RT_BIT(5); 226 224 if (!pState->fInReset) … … 237 235 case 0xD: 238 236 pNode->node.name = "PortD"; 239 pNode->node.au32F00_param[0xC] = 0x173c; 240 pNode->port.u32F09_param = 0x173f; 241 pNode->port.u32F07_param = RT_BIT(6); 237 pNode->node.au32F00_param[0xC] = 0x1737; 238 pNode->port.u32F07_param = RT_BIT(5); 242 239 pNode->node.au32F02_param[0] = 0x2; 243 240 if (!pState->fInReset) 244 pNode->port.u32F1c_param = 0x01013040; /* Line Out*/241 pNode->port.u32F1c_param = RT_MAKE_U32_FROM_U8(0x50, 0x90, 0xA1, 0x02); /* Microphone */ 245 242 port_init: 246 243 pNode->port.u32F09_param = RT_BIT(31)|0x7fffffff; … … 255 252 pNode->node.au32F00_param[0xC] = 0x34; 256 253 pNode->port.u32F07_param = RT_BIT(5); 257 pNode->port.u32F09_param = RT_BIT(31)|0x7fffffff;254 pNode->port.u32F09_param = 0x7fffffff; 258 255 if (!pState->fInReset) 259 pNode->port.u32F1c_param = RT_MAKE_U32_FROM_U8(0x50, 0x90, 0xA1, 0x02); /* Microphone*/256 pNode->port.u32F1c_param = 0x01013040; /* Line Out */ 260 257 break; 261 258 case 0xF:
Note:
See TracChangeset
for help on using the changeset viewer.