Changeset 31043 in vbox
- Timestamp:
- Jul 23, 2010 9:26:17 AM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 63965
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DevCodec.cpp
r31039 r31043 59 59 #define CODEC_B_INDEX(cmd) ((cmd) & CODEC_VERB_B_INDEX) 60 60 61 //** @todo r=michaln: Please document why this is bit 36 (it's not the same as the link format) 61 62 #define CODEC_RESPONSE_UNSOLICITED RT_BIT_64(36) 62 63 … … 89 90 Log(("codecUnimplemented: cmd(raw:%x: cad:%x, d:%c, nid:%x, verb:%x)\n", cmd, 90 91 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! 91 93 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? 92 96 *pResp = ((uint64_t)CODEC_CAD(cmd) << 4)| 0xFF; 93 97 else … … 485 489 { 486 490 *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) 487 493 LogRel(("intelHD: cmd %x was ignored\n", cmd)); 488 494 return VINF_SUCCESS;
Note:
See TracChangeset
for help on using the changeset viewer.