VirtualBox

Changeset 62182 in vbox for trunk/src


Ignore:
Timestamp:
Jul 12, 2016 9:37:58 AM (9 years ago)
Author:
vboxsync
Message:

Devices/testcase: fixes for VBOX_WITH_AUDIO_50

Location:
trunk/src/VBox/Devices/testcase
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/testcase/Makefile.kmk

    r61339 r62182  
    3939        $(if $(VBOX_WITH_NEW_PS2M),VBOX_WITH_NEW_PS2M,) \
    4040        $(if $(VBOX_WITH_NVME_IMPL),VBOX_WITH_NVME_IMPL,) \
     41        $(if $(VBOX_WITH_AUDIO_50),VBOX_WITH_AUDIO_50,) \
    4142        $(if $(VBOX_WITH_PCI_PASSTHROUGH_IMPL),VBOX_WITH_PCI_PASSTHROUGH_IMPL,) \
    4243        $(if $(VBOX_WITH_RAW_MODE),VBOX_WITH_RAW_MODE,) \
  • trunk/src/VBox/Devices/testcase/tstDeviceStructSize.cpp

    r62032 r62182  
    120120#include <VBox/vmm/pdmaudioifs.h>
    121121
    122 #undef LOG_GROUP
    123 #include "../Audio/DevIchAc97.cpp"
    124 #undef LOG_GROUP
    125 #include "../Audio/DevIchHda.cpp"
     122#ifdef VBOX_WITH_AUDIO_50
     123# undef LOG_GROUP
     124# include "../Audio_old/DevIchAc97.cpp"
     125# undef LOG_GROUP
     126# include "../Audio_old/DevIchHda.cpp"
     127#else
     128# undef LOG_GROUP
     129# include "../Audio/DevIchAc97.cpp"
     130# undef LOG_GROUP
     131# include "../Audio/DevIchHda.cpp"
     132#endif
    126133
    127134#include <stdio.h>
  • trunk/src/VBox/Devices/testcase/tstDeviceStructSizeRC.cpp

    r61848 r62182  
    114114#undef LOG_GROUP
    115115#include "../PC/DevHPET.cpp"
    116 #undef LOG_GROUP
    117 #include "../Audio/DevIchAc97.cpp"
    118 #undef LOG_GROUP
    119 #include "../Audio/DevIchHda.cpp"
     116#ifdef VBOX_WITH_AUDIO_50
     117# undef LOG_GROUP
     118# include "../Audio_old/DevIchAc97.cpp"
     119# undef LOG_GROUP
     120# include "../Audio_old/DevIchHda.cpp"
     121#else
     122# undef LOG_GROUP
     123# include "../Audio/DevIchAc97.cpp"
     124# undef LOG_GROUP
     125# include "../Audio/DevIchHda.cpp"
     126#endif
    120127#ifdef VBOX_WITH_NVME_IMPL
    121128# undef LOG_GROUP
     
    19511958    GEN_CHECK_OFF(AC97DRIVER, Out);
    19521959
     1960#ifndef VBOX_WITH_AUDIO_50
    19531961    GEN_CHECK_SIZE(HDAMIXERSTREAM);
    19541962    GEN_CHECK_OFF(HDAMIXERSTREAM, DestSource);
    19551963    GEN_CHECK_OFF(HDAMIXERSTREAM, pMixStrm);
     1964#endif
    19561965
    19571966    GEN_CHECK_SIZE(HDADRIVER);
     
    19661975    GEN_CHECK_OFF(HDADRIVER, MicIn);
    19671976#endif
     1977#ifndef VBOX_WITH_AUDIO_50
    19681978    GEN_CHECK_OFF(HDADRIVER, Front);
     1979#endif
    19691980#ifdef VBOX_WITH_HDA_51_SURROUND
    19701981    GEN_CHECK_OFF(HDADRIVER, CenterLFE);
     
    19892000
    19902001    GEN_CHECK_SIZE(HDASTREAM);
     2002#ifndef VBOX_WITH_AUDIO_50
    19912003    GEN_CHECK_OFF(HDASTREAM, u8SD);
     2004#endif
    19922005    GEN_CHECK_OFF(HDASTREAM, u64BDLBase);
    19932006    GEN_CHECK_OFF(HDASTREAM, u16FMT);
     
    20042017    GEN_CHECK_OFF(HDASTATE, MMIOBaseAddr);
    20052018    GEN_CHECK_OFF(HDASTATE, au32Regs[0]);
     2019#ifdef VBOX_WITH_AUDIO_50
     2020    GEN_CHECK_OFF(HDASTATE, au32Regs[HDA_NREGS]);
     2021#else
    20062022    GEN_CHECK_OFF(HDASTATE, au32Regs[HDA_NUM_REGS]);
    20072023    GEN_CHECK_OFF(HDASTATE, aStreams);
    20082024    GEN_CHECK_OFF(HDASTATE, aTags);
     2025#endif
    20092026    GEN_CHECK_OFF(HDASTATE, u64CORBBase);
    20102027    GEN_CHECK_OFF(HDASTATE, u64RIRBBase);
     
    20322049    GEN_CHECK_OFF(HDASTATE, lstDrv);
    20332050    GEN_CHECK_OFF(HDASTATE, pMixer);
     2051#ifndef VBOX_WITH_AUDIO_50
    20342052    GEN_CHECK_OFF(HDASTATE, SinkFront);
     2053#endif
    20352054#ifdef VBOX_WITH_HDA_51_SURROUND
    20362055    GEN_CHECK_OFF(HDASTATE, SinkCenterLFE);
    20372056    GEN_CHECK_OFF(HDASTATE, SinkRear);
    20382057#endif
     2058#ifndef VBOX_WITH_AUDIO_50
    20392059    GEN_CHECK_OFF(HDASTATE, SinkLineIn);
     2060#endif
    20402061#ifdef VBOX_WITH_HDA_MIC_IN
    20412062    GEN_CHECK_OFF(HDASTATE, SinkMicIn);
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