VirtualBox

Ignore:
Timestamp:
Mar 4, 2014 7:21:18 PM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
92630
Message:

src/VBox/Devices/Audio, src/VBox/Main/src-client, include/VBox/vmm:

src/VBox/Devices/Audio: part of restructuring of audio code. Devices files correspondin to Hda, AC97 and SB16 audio. The structure of files have been modifed as per PDM specs. The modified code is under #ifdef VBOX_WITH_PDM_AUDIO_DRIVER

src/VBox/Main/src-client: Driver for the VRDE that interacts with DrvAudio. Enhancement of the CFGM tree for audio.

Config.kmk : addition of one configuration parameter that will control whether new audio code is disabled or enabled. "VBOX_WITH_PDM_AUDIO_DRIVER"

pdmaudioifs.h: common header file between Device , Intermediate audio driver and Backends specific to audio.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/VBoxDriversRegister.cpp

    r48406 r50686  
    2424#include "DisplayImpl.h"
    2525#include "VMMDev.h"
     26#ifdef VBOX_WITH_PDM_AUDIO_DRIVER
     27#include "DrvAudioVRDE.h"
     28#else
    2629#include "AudioSnifferInterface.h"
     30#endif
    2731#include "Nvram.h"
    2832#include "UsbWebcamInterface.h"
     
    6771    if (RT_FAILURE(rc))
    6872        return rc;
    69 
     73#ifdef VBOX_WITH_PDM_AUDIO_DRIVER
     74    rc = pCallbacks->pfnRegister(pCallbacks, &g_DrvAudioVRDE);
     75#else
    7076    rc = pCallbacks->pfnRegister(pCallbacks, &AudioSniffer::DrvReg);
     77#endif
    7178    if (RT_FAILURE(rc))
    7279        return rc;
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