VirtualBox

Changeset 57404 in vbox for trunk


Ignore:
Timestamp:
Aug 18, 2015 8:54:43 AM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
102168
Message:

Comments.

File:
1 edited

Legend:

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

    r56085 r57404  
    112112#endif
    113113
     114/**
     115 * Audio direction.
     116 */
    114117typedef enum PDMAUDIODIR
    115118{
    116     PDMAUDIODIR_UNKNOWN = 0,
    117     PDMAUDIODIR_IN      = 1,
    118     PDMAUDIODIR_OUT     = 2,
    119     PDMAUDIODIR_BOTH    = 3
     119    PDMAUDIODIR_UNKNOWN    = 0,
     120    PDMAUDIODIR_IN         = 1,
     121    PDMAUDIODIR_OUT        = 2,
     122    PDMAUDIODIR_DUPLEX     = 3,
     123    /** Hack to blow the type up to 32-bit. */
     124    PDMAUDIODIR_32BIT_HACK = 0x7fffffff
    120125} PDMAUDIODIR;
    121126
     127/**
     128 * Audio mixer controls.
     129 */
    122130typedef enum PDMAUDIOMIXERCTL
    123131{
     
    131139} PDMAUDIOMIXERCTL;
    132140
     141/**
     142 * Audio recording sources.
     143 */
    133144typedef enum PDMAUDIORECSOURCE
    134145{
     
    502513                                           PPDMAUDIOSTREAMCFG pCfg, PPDMAUDIOGSTSTRMOUT *ppGstStrmOut));
    503514
     515    /**
     516     * Plays (transfers) all available samples via the connected host backend.
     517     *
     518     * @returns VBox status code.
     519     * @param   pInterface           Pointer to the interface structure containing the called function pointer.
     520     * @param   pcSamplesPlayed      Number of samples played. Optional.
     521     */
    504522    DECLR3CALLBACKMEMBER(int, pfnPlayOut, (PPDMIAUDIOCONNECTOR pInterface, uint32_t *pcSamplesPlayed));
    505523
     
    626644    DECLR3CALLBACKMEMBER(int, pfnFiniOut, (PPDMIHOSTAUDIO pInterface, PPDMAUDIOHSTSTRMOUT pHstStrmOut));
    627645
     646    /**
     647     * Returns whether the specified audio direction in the backend is enabled or not.
     648     *
     649     * @param   pInterface          Pointer to the interface structure containing the called function pointer.
     650     * @param   enmDir              Audio direction to check status for.
     651     */
    628652    DECLR3CALLBACKMEMBER(bool, pfnIsEnabled, (PPDMIHOSTAUDIO pInterface, PDMAUDIODIR enmDir));
    629653
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