VirtualBox

Changeset 89061 in vbox for trunk/src/VBox/ValidationKit


Ignore:
Timestamp:
May 16, 2021 1:24:08 PM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
144401
Message:

ValKit/Audio: Added DrvAudio and stuff to the build config (not yet used, just compiled). bugref:10008

Location:
trunk/src/VBox/ValidationKit/utils/audio
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/utils/audio/Makefile.kmk

    r89058 r89061  
    5151AudioTest_SOURCES  = \
    5252        vkat.cpp \
    53         $(VKAT_PATH_AUDIO)/AudioTest.cpp
     53        $(VKAT_PATH_AUDIO)/AudioTest.cpp \
     54        $(VKAT_PATH_AUDIO)/DrvAudio.cpp \
     55        $(VKAT_PATH_AUDIO)/DrvHostAudioNull.cpp \
     56        $(VKAT_PATH_AUDIO)/AudioMixer.cpp \
     57        $(VKAT_PATH_AUDIO)/AudioMixBuffer.cpp \
     58        $(VKAT_PATH_AUDIO)/AudioHlp.cpp
    5459
    5560ifdef VBOX_WITH_AUDIO_PULSE
  • trunk/src/VBox/ValidationKit/utils/audio/vkat.cpp

    r89059 r89061  
    329329
    330330/** @name Driver Helper Fakes / Stubs
     331 *
     332 * @note The VMM functions defined here will turn into driver helpers before
     333 *       long, as the drivers aren't supposed to import directly from the VMM in
     334 *       the future.
     335 *
    331336 * @{  */
     337
     338VMMR3DECL(PCFGMNODE)    CFGMR3GetChild(PCFGMNODE pNode, const char *pszPath)
     339{
     340    RT_NOREF(pNode, pszPath);
     341    return NULL;
     342}
    332343
    333344VMMR3DECL(int) CFGMR3QueryString(PCFGMNODE pNode, const char *pszName, char *pszString, size_t cchString)
     
    354365}
    355366
    356 /* Fake stub. Will be removed when this moves into the driver helpers. */
    357367VMMR3DECL(int) CFGMR3QueryStringDef(PCFGMNODE pNode, const char *pszName, char *pszString, size_t cchString, const char *pszDef)
    358368{
     
    362372}
    363373
    364 /* Fake stub. Will be removed when this moves into the driver helpers. */
     374VMMR3DECL(int)          CFGMR3QueryBoolDef(     PCFGMNODE pNode, const char *pszName, bool *pf, bool fDef)
     375{
     376    RT_NOREF(pNode, pszName, pf);
     377    return fDef;
     378}
     379
     380VMMR3DECL(int)          CFGMR3QueryU8(          PCFGMNODE pNode, const char *pszName, uint8_t *pu8)
     381{
     382    RT_NOREF(pNode, pszName, pu8);
     383    return VERR_CFGM_VALUE_NOT_FOUND;
     384}
     385
     386VMMR3DECL(int)          CFGMR3QueryU32(         PCFGMNODE pNode, const char *pszName, uint32_t *pu32)
     387{
     388    RT_NOREF(pNode, pszName, pu32);
     389    return VERR_CFGM_VALUE_NOT_FOUND;
     390}
     391
    365392VMMR3DECL(int) CFGMR3ValidateConfig(PCFGMNODE pNode, const char *pszNode,
    366393                                    const char *pszValidValues, const char *pszValidNodes,
Note: See TracChangeset for help on using the changeset viewer.

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