VirtualBox

Changeset 88032 in vbox


Ignore:
Timestamp:
Mar 9, 2021 12:17:19 AM (4 years ago)
Author:
vboxsync
Message:

Audio: Preparing for moving the enumeration helpers to PDM. Simplify allocation. [build fix] bugref:9890

File:
1 edited

Legend:

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

    r88031 r88032  
    373373    /** Maximum number of output audio channels the device supports. */
    374374    uint8_t             cMaxOutputChannels;
    375     uint8_t             bAlignment[1];
     375    uint8_t             bAlignment;
    376376    /** Device type union, based on enmType. */
    377377    union
     
    390390    char                szName[64];
    391391} PDMAUDIODEVICE;
    392 AssertCompileSizeAlignment(PDMAUDIODEVICE, 32);
     392AssertCompileSizeAlignment(PDMAUDIODEVICE, ARCH_BITS >= 64 ? 32 : 16);
    393393/** Pointer to audio device info (enum result). */
    394394typedef PDMAUDIODEVICE *PPDMAUDIODEVICE;
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