VirtualBox

Changeset 64879 in vbox


Ignore:
Timestamp:
Dec 15, 2016 12:21:03 PM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
112285
Message:

Audio/pdmaudioifs.h: Split out DestSource member of PDMAUDIOSTREAMCFG into an own union PDMAUDIODESTSOURCE.

File:
1 edited

Legend:

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

    r63865 r64879  
    326326
    327327/**
     328 * Union for keeping an audio stream destination or source.
     329 */
     330typedef union PDMAUDIODESTSOURCE
     331{
     332    /** Desired playback destination (for an output stream). */
     333    PDMAUDIOPLAYBACKDEST Dest;
     334    /** Desired recording source (for an input stream). */
     335    PDMAUDIORECSOURCE    Source;
     336} PDMAUDIODESTSOURCE, *PPDMAUDIODESTSOURCE;
     337
     338/**
    328339 * Structure for keeping an audio stream configuration.
    329340 */
     
    334345    /** Direction of the stream. */
    335346    PDMAUDIODIR              enmDir;
    336     union
    337     {
    338         /** Desired playback destination (for an output stream). */
    339         PDMAUDIOPLAYBACKDEST Dest;
    340         /** Desired recording source (for an input stream). */
    341         PDMAUDIORECSOURCE    Source;
    342     } DestSource;
     347    /** Destination / source indicator, depending on enmDir. */
     348    PDMAUDIODESTSOURCE       DestSource;
    343349    /** Frequency in Hertz (Hz). */
    344350    uint32_t                 uHz;
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