VirtualBox

Changeset 31347 in vbox


Ignore:
Timestamp:
Aug 4, 2010 8:17:58 AM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
64388
Message:

HDA: Review notes.

Location:
trunk/src/VBox/Devices/Audio
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Audio/DevCodec.cpp

    r31324 r31347  
    928928        dac_init:
    929929            memset(pNode->dac.B_params, 0, AMPLIFIER_SIZE);
     930            //** @todo r=michaln: 0x2 in the low bits means 3 channels, not 2??
    930931            pNode->dac.u32A_param = RT_BIT(14)|(0x1 << 4)|0x2; /* 441000Hz/16bit/2ch */
    931932
     
    946947            pNode->node.au8F02_param[0] = 0x18;
    947948        adc_init:
     949            //** @todo r=michaln: Shouldn't that be (0x1 << 4)? Same problem with no. of channels.
    948950            pNode->adc.u32A_param = RT_BIT(14)|(0x1 << 3)|0x2; /* 441000Hz/16bit/2ch */
    949951            pNode->adc.node.au32F00_param[0xE] = RT_BIT(0);
  • trunk/src/VBox/Devices/Audio/DevIchIntelHDA.cpp

    r31324 r31347  
    11731173        temp    -= copied;
    11741174        written += copied;
     1175        //** @todo r=michaln: Should that be '+= written' or '+= copied?'
    11751176        pState->u32CviPos += written;
    11761177    }
     
    11991200                || avail == 0)
    12001201                return;
     1202            //** @todo r=michaln: Why is that 'adc' and not 'dac'? Why is the mask 0x5 and not 0xf?
    12011203            SDCTL(pState, 4) |= ((pState->Codec.pNodes[2].adc.u32F06_param & (0x5 << 4)) >> 4) << 20;
    12021204            fetch_bd(pState);
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette