VirtualBox

Changeset 31377 in vbox for trunk/src/VBox/Devices/Audio


Ignore:
Timestamp:
Aug 5, 2010 3:01:03 AM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
64434
Message:

Audio/HDA: some todo and clean up.

File:
1 edited

Legend:

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

    r31347 r31377  
    11731173        temp    -= copied;
    11741174        written += copied;
    1175         //** @todo r=michaln: Should that be '+= written' or '+= copied?'
    1176         pState->u32CviPos += written;
     1175        pState->u32CviPos += copied;
    11771176    }
    11781177    return written;
     
    12001199                || avail == 0)
    12011200                return;
    1202             //** @todo r=michaln: Why is that 'adc' and not 'dac'? Why is the mask 0x5 and not 0xf?
    1203             SDCTL(pState, 4) |= ((pState->Codec.pNodes[2].adc.u32F06_param & (0x5 << 4)) >> 4) << 20;
     1201            SDCTL(pState, 4) |= ((pState->Codec.pNodes[2].dac.u32F06_param & (0xf << 4)) >> 4) << 20;
    12041202            fetch_bd(pState);
    12051203            while(   avail
     
    12371235                                pState->u32Cvi = 0;
    12381236                        }
    1239                      }
     1237                    }
    12401238                }
    12411239                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