VirtualBox

Changeset 59348 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Jan 14, 2016 2:48:08 PM (9 years ago)
Author:
vboxsync
Message:

Audio: Implemented dynamic fallback support to NULL audio backends for HDA, AC'97 and SB16 emulation; also did some preparations for audio hotplugging support.

Location:
trunk/include/VBox/vmm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vmm/pdmaudioifs.h

    r59276 r59348  
    539539
    540540    /**
    541      * Initializes the NULL audio driver as a fallback in case no host backend is available.
    542      *
    543      * @returns VBox status code.
    544      * @param   pInterface      Pointer to the interface structure containing the called function pointer.
    545      */
    546     DECLR3CALLBACKMEMBER(int, pfnInitNull, (PPDMIAUDIOCONNECTOR pInterface));
    547 
    548     /**
    549541     * Enables a specific guest output stream and starts the audio device.
    550542     *
  • trunk/include/VBox/vmm/pdmdev.h

    r58116 r59348  
    44
    55/*
    6  * Copyright (C) 2006-2015 Oracle Corporation
     6 * Copyright (C) 2006-2016 Oracle Corporation
    77 *
    88 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    178178 * This is called to let the device attach to a driver for a specified LUN
    179179 * at runtime. This is not called during VM construction, the device
    180  * constructor have to attach to all the available drivers.
     180 * constructor has to attach to all the available drivers.
    181181 *
    182182 * This is like plugging in the keyboard or mouse after turning on the PC.
     
    184184 * @returns VBox status code.
    185185 * @param   pDevIns     The device instance.
    186  * @param   iLUN        The logical unit which is being detached.
     186 * @param   iLUN        The logical unit which is being attached.
    187187 * @param   fFlags      Flags, combination of the PDM_TACH_FLAGS_* \#defines.
    188188 *
     
    197197 *
    198198 * This is called when a driver is detaching itself from a LUN of the device.
    199  * The device should adjust it's state to reflect this.
     199 * The device should adjust its state to reflect this.
    200200 *
    201201 * This is like unplugging the network cable to use it for the laptop or
     
    30683068
    30693069    /**
     3070     * Detaches an attached driver (chain) from the device again.
     3071     *
     3072     * @returns VBox status code.
     3073     * @param   pDevIns             The device instance.
     3074     * @param   pDrvIns             The driver instance to detach.
     3075     * @param   fFlags              Flags, combination of the PDMDEVATT_FLAGS_* \#defines.
     3076     */
     3077    DECLR3CALLBACKMEMBER(int, pfnDriverDetach,(PPDMDEVINS pDevIns, PPDMDRVINS pDrvIns, uint32_t fFlags));
     3078
     3079    /**
    30703080     * Create a queue.
    30713081     *
     
    36723682
    36733683/** Current PDMDEVHLPR3 version number. */
    3674 #define PDM_DEVHLPR3_VERSION                    PDM_VERSION_MAKE(0xffe7, 14, 1)
     3684#define PDM_DEVHLPR3_VERSION                    PDM_VERSION_MAKE(0xffe7, 15, 1)
    36753685
    36763686
     
    49384948
    49394949/**
     4950 * @copydoc PDMDEVHLPR3::pfnDriverDetach
     4951 */
     4952DECLINLINE(int) PDMDevHlpDriverDetach(PPDMDEVINS pDevIns, PPDMDRVINS pDrvIns, uint32_t fFlags)
     4953{
     4954    return pDevIns->pHlpR3->pfnDriverDetach(pDevIns, pDrvIns, fFlags);
     4955}
     4956
     4957/**
    49404958 * @copydoc PDMDEVHLPR3::pfnQueueCreate
    49414959 */
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