Changeset 31347 in vbox
- Timestamp:
- Aug 4, 2010 8:17:58 AM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 64388
- Location:
- trunk/src/VBox/Devices/Audio
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DevCodec.cpp
r31324 r31347 928 928 dac_init: 929 929 memset(pNode->dac.B_params, 0, AMPLIFIER_SIZE); 930 //** @todo r=michaln: 0x2 in the low bits means 3 channels, not 2?? 930 931 pNode->dac.u32A_param = RT_BIT(14)|(0x1 << 4)|0x2; /* 441000Hz/16bit/2ch */ 931 932 … … 946 947 pNode->node.au8F02_param[0] = 0x18; 947 948 adc_init: 949 //** @todo r=michaln: Shouldn't that be (0x1 << 4)? Same problem with no. of channels. 948 950 pNode->adc.u32A_param = RT_BIT(14)|(0x1 << 3)|0x2; /* 441000Hz/16bit/2ch */ 949 951 pNode->adc.node.au32F00_param[0xE] = RT_BIT(0); -
trunk/src/VBox/Devices/Audio/DevIchIntelHDA.cpp
r31324 r31347 1173 1173 temp -= copied; 1174 1174 written += copied; 1175 //** @todo r=michaln: Should that be '+= written' or '+= copied?' 1175 1176 pState->u32CviPos += written; 1176 1177 } … … 1199 1200 || avail == 0) 1200 1201 return; 1202 //** @todo r=michaln: Why is that 'adc' and not 'dac'? Why is the mask 0x5 and not 0xf? 1201 1203 SDCTL(pState, 4) |= ((pState->Codec.pNodes[2].adc.u32F06_param & (0x5 << 4)) >> 4) << 20; 1202 1204 fetch_bd(pState);
Note:
See TracChangeset
for help on using the changeset viewer.