VirtualBox

Changeset 31043 in vbox


Ignore:
Timestamp:
Jul 23, 2010 9:26:17 AM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
63965
Message:

HDA: More coded review comments.

File:
1 edited

Legend:

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

    r31039 r31043  
    5959#define CODEC_B_INDEX(cmd)      ((cmd) & CODEC_VERB_B_INDEX)
    6060
     61//** @todo r=michaln: Please document why this is bit 36 (it's not the same as the link format)
    6162#define CODEC_RESPONSE_UNSOLICITED RT_BIT_64(36)
    6263
     
    8990    Log(("codecUnimplemented: cmd(raw:%x: cad:%x, d:%c, nid:%x, verb:%x)\n", cmd,
    9091        CODEC_CAD(cmd), CODEC_DIRECT(cmd) ? 'N' : 'Y', CODEC_NID(cmd), CODEC_VERBDATA(cmd)));
     92    //** @todo r=michaln: The zero used as a codec ID shouldn't be hardcoded!
    9193    if (CODEC_CAD(cmd) != 0)
     94        //** @todo r=michaln: Are we really supposed to respond to commands sent to nonexistent codecs??
     95        //** @todo r=michaln: Where in the specs is this response format defined?
    9296        *pResp = ((uint64_t)CODEC_CAD(cmd) << 4)| 0xFF;
    9397    else
     
    485489    {
    486490        *pfn = CODEC_CAD(cmd) != 0 ? codecUnimplemented : codecBreak;
     491        //** @todo r=michaln: Why "intelHD" and not e.g. "HDAcodec"?
     492        //** @todo r=michaln: There needs to be a counter to avoid log flooding (see e.g. DevRTC.cpp)
    487493        LogRel(("intelHD: cmd %x was ignored\n", cmd));
    488494        return VINF_SUCCESS;
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