Changeset 33710 in vbox for trunk/src/VBox/Devices/Audio
- Timestamp:
- Nov 2, 2010 7:28:17 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DevCodec.cpp
r33705 r33710 423 423 pNode->digout.u32F07_param = 0; 424 424 if (!pState->fInReset) 425 pNode->digout.u32F1c_param = RT_MAKE_U32_FROM_U8(0x30, 0x10, 0x45, 0x01); 425 pNode->digout.u32F1c_param = CODEC_MAKE_U32_DEFAULT_CONF(CODEC_DEFAULT_CONF_PORT_COMPLEX, 426 CODEC_DEFAULT_CONF_LOCATION_REAR, 427 CODEC_DEFAULT_CONF_DEVICE_SPDIF_OUT, 428 CODEC_DEFAULT_CONF_CONNECTION_TYPE_DIN, 429 CODEC_DEFAULT_CONF_COLOR_BLACK, 430 0x0, 0x3, 0x0);//RT_MAKE_U32_FROM_U8(0x30, 0x10, 0x45, 0x01); 426 431 break; 427 432 case 0x11: … … 435 440 pNode->digin.u32F0c_param = 0; 436 441 if (!pState->fInReset) 437 pNode->digin.u32F1c_param = (0x1 << 24) | (0xc5 << 16) | (0x10 << 8) | 0x60; 442 pNode->digin.u32F1c_param = CODEC_MAKE_U32_DEFAULT_CONF(CODEC_DEFAULT_CONF_PORT_COMPLEX, 443 CODEC_DEFAULT_CONF_LOCATION_REAR, 444 CODEC_DEFAULT_CONF_DEVICE_SPDIF_IN, 445 CODEC_DEFAULT_CONF_CONNECTION_TYPE_OTHER_DIGITAL, 446 CODEC_DEFAULT_CONF_COLOR_BLACK, 447 0x0, 0x6, 0x0);//(0x1 << 24) | (0xc5 << 16) | (0x10 << 8) | 0x60; 438 448 break; 439 449 case 0x12: … … 466 476 pNode->cdnode.u32F07_param = 0; 467 477 if (!pState->fInReset) 468 pNode->cdnode.u32F1c_param = RT_MAKE_U32_FROM_U8(0x70, 0x0, 0x33, 0x90); 478 pNode->cdnode.u32F1c_param = CODEC_MAKE_U32_DEFAULT_CONF(CODEC_DEFAULT_CONF_PORT_FIXED, 479 CODEC_DEFAULT_CONF_LOCATION_INTERNAL, 480 CODEC_DEFAULT_CONF_DEVICE_CD, 481 CODEC_DEFAULT_CONF_CONNECTION_TYPE_ATAPI, 482 CODEC_DEFAULT_CONF_COLOR_UNKNOWN, 483 0x0, 0x7, 0x0);//RT_MAKE_U32_FROM_U8(0x70, 0x0, 0x33, 0x90); 469 484 break; 470 485 case 0x16: … … 508 523 pNode->node.au32F02_param[0] = 0x1a; 509 524 pNode->reserved.u32F07_param = 0; 510 pNode->reserved.u32F1c_param = 0x4000000f; 525 pNode->reserved.u32F1c_param = CODEC_MAKE_U32_DEFAULT_CONF(CODEC_DEFAULT_CONF_PORT_NO_PHYS, 526 CODEC_DEFAULT_CONF_LOCATION_NA, 527 CODEC_DEFAULT_CONF_DEVICE_LINE_OUT, 528 CODEC_DEFAULT_CONF_CONNECTION_TYPE_UNKNOWN, 529 CODEC_DEFAULT_CONF_COLOR_UNKNOWN, 530 0x0, 0x0, 0xf);//0x4000000f; 511 531 break; 512 532 default:
Note:
See TracChangeset
for help on using the changeset viewer.