VirtualBox

Changeset 88197 in vbox


Ignore:
Timestamp:
Mar 18, 2021 5:05:07 PM (4 years ago)
Author:
vboxsync
Message:

DevHDA: Enable 48kHz. For now it's unconditionally till someone reports issues with it. bugref:9890

File:
1 edited

Legend:

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

    r88028 r88197  
    199199            pNode->afg.node.au32F00_param[0x08] = CODEC_MAKE_F00_08(1, 0xd, 0xd);
    200200            /* We set the AFG's PCM capabitilies fixed to 16kHz, 22.5kHz + 44.1kHz, 16-bit signed. */
    201             pNode->afg.node.au32F00_param[0x0A] = CODEC_F00_0A_44_1KHZ | CODEC_F00_0A_44_1KHZ_1_2X | CODEC_F00_0A_48KHZ_1_3X | CODEC_F00_0A_16_BIT;
     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 */
     203                                                | CODEC_F00_0A_48KHZ_1_3X       /* Messed up way of saying 16 kHz. */
     204                                                | CODEC_F00_0A_16_BIT;          /* 16-bit signed */
     205            if (true)
     206                pNode->afg.node.au32F00_param[0x0A] |= CODEC_F00_0A_48KHZ;
    202207            pNode->afg.node.au32F00_param[0x0B] = CODEC_F00_0B_PCM;
    203208            pNode->afg.node.au32F00_param[0x0C] = CODEC_MAKE_F00_0C(0x17)
Note: See TracChangeset for help on using the changeset viewer.

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