VirtualBox

Changeset 31294 in vbox


Ignore:
Timestamp:
Aug 2, 2010 12:54:31 PM (14 years ago)
Author:
vboxsync
Message:

Audio/HDA: spdif{in,out} needs F06/706 verb support.

File:
1 edited

Legend:

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

    r31277 r31294  
    629629    else if (STAC9220_IS_ADC_CMD(cmd))
    630630        *pResp = pState->pNodes[CODEC_NID(cmd)].adc.u32F06_param;
     631    else if (STAC9220_IS_SPDIFIN_CMD(cmd))
     632        *pResp = pState->pNodes[CODEC_NID(cmd)].spdifin.u32F06_param;
     633    else if (STAC9220_IS_SPDIFOUT_CMD(cmd))
     634        *pResp = pState->pNodes[CODEC_NID(cmd)].spdifout.u32F06_param;
    631635    return VINF_SUCCESS;
    632636}
     
    649653    else if (STAC9220_IS_SPDIFOUT_CMD(cmd))
    650654        pu32addr = &pState->pNodes[CODEC_NID(cmd)].spdifout.u32F06_param;
     655    else if (STAC9220_IS_SPDIFIN_CMD(cmd))
     656        pu32addr = &pState->pNodes[CODEC_NID(cmd)].spdifin.u32F06_param;
    651657    Assert((pu32addr));
    652658    if (pu32addr)
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