Changeset 88198 in vbox for trunk/src/VBox/Devices/Audio
- Timestamp:
- Mar 18, 2021 6:04:31 PM (4 years ago)
- svn:sync-xref-src-repo-rev:
- 143359
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/HDACodec.cpp
r88197 r88198 200 200 /* We set the AFG's PCM capabitilies fixed to 16kHz, 22.5kHz + 44.1kHz, 16-bit signed. */ 201 201 pNode->afg.node.au32F00_param[0x0A] = CODEC_F00_0A_44_1KHZ /* 44.1 kHz */ 202 | CODEC_F00_0A_44_1KHZ_1_2X /* Messed up way of saying 22. 5 kHz */202 | CODEC_F00_0A_44_1KHZ_1_2X /* Messed up way of saying 22.05 kHz */ 203 203 | CODEC_F00_0A_48KHZ_1_3X /* Messed up way of saying 16 kHz. */ 204 204 | CODEC_F00_0A_16_BIT; /* 16-bit signed */ 205 if (true) 206 pNode->afg.node.au32F00_param[0x0A] |= CODEC_F00_0A_48KHZ; 205 /* Note! We do not set CODEC_F00_0A_48KHZ here because we end up with 206 S/PDIF output showing up in windows and it trying to configure 207 streams other than 0 and 4 and stuff going sideways in the 208 stream setup/removal area. */ 207 209 pNode->afg.node.au32F00_param[0x0B] = CODEC_F00_0B_PCM; 208 210 pNode->afg.node.au32F00_param[0x0C] = CODEC_MAKE_F00_0C(0x17)
Note:
See TracChangeset
for help on using the changeset viewer.