VirtualBox

Changeset 88041 in vbox for trunk/include


Ignore:
Timestamp:
Mar 9, 2021 12:40:47 PM (4 years ago)
Author:
vboxsync
Message:

Audio: More prep work to move the audio device enumeration code to PDM. bugref:9890

File:
1 edited

Legend:

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

    r88033 r88041  
    313313 * @{  */
    314314/** No flags set. */
    315 #define PDMAUDIODEV_FLAGS_NONE            UINT32_C(0)
     315#define PDMAUDIODEV_FLAGS_NONE              UINT32_C(0)
    316316/** The device marks the default device within the host OS. */
    317 #define PDMAUDIODEV_FLAGS_DEFAULT         RT_BIT_32(0)
     317#define PDMAUDIODEV_FLAGS_DEFAULT           RT_BIT_32(0)
    318318/** The device can be removed at any time and we have to deal with it. */
    319 #define PDMAUDIODEV_FLAGS_HOTPLUG         RT_BIT_32(1)
     319#define PDMAUDIODEV_FLAGS_HOTPLUG           RT_BIT_32(1)
    320320/** The device is known to be buggy and needs special treatment. */
    321 #define PDMAUDIODEV_FLAGS_BUGGY           RT_BIT_32(2)
     321#define PDMAUDIODEV_FLAGS_BUGGY             RT_BIT_32(2)
    322322/** Ignore the device, no matter what. */
    323 #define PDMAUDIODEV_FLAGS_IGNORE          RT_BIT_32(3)
     323#define PDMAUDIODEV_FLAGS_IGNORE            RT_BIT_32(3)
    324324/** The device is present but marked as locked by some other application. */
    325 #define PDMAUDIODEV_FLAGS_LOCKED          RT_BIT_32(4)
     325#define PDMAUDIODEV_FLAGS_LOCKED            RT_BIT_32(4)
    326326/** The device is present but not in an alive state (dead). */
    327 #define PDMAUDIODEV_FLAGS_DEAD            RT_BIT_32(5)
     327#define PDMAUDIODEV_FLAGS_DEAD              RT_BIT_32(5)
     328/** Set if the extra backend specific data cannot be duplicated. */
     329#define PDMAUDIODEV_FLAGS_NO_DUP            RT_BIT_32(31)
    328330/** @} */
    329331
     
    358360    /** Magic value (PDMAUDIODEVICE_MAGIC). */
    359361    uint32_t            uMagic;
    360     /** Size of the additional data. */
    361     uint32_t            cbData;
     362    /** Size of this structure and whatever backend specific data that follows it. */
     363    uint32_t            cbSelf;
    362364    /** The device type. */
    363365    PDMAUDIODEVICETYPE  enmType;
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