- Timestamp:
- Aug 18, 2015 8:54:43 AM (10 years ago)
- svn:sync-xref-src-repo-rev:
- 102168
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/pdmaudioifs.h
r56085 r57404 112 112 #endif 113 113 114 /** 115 * Audio direction. 116 */ 114 117 typedef enum PDMAUDIODIR 115 118 { 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 120 125 } PDMAUDIODIR; 121 126 127 /** 128 * Audio mixer controls. 129 */ 122 130 typedef enum PDMAUDIOMIXERCTL 123 131 { … … 131 139 } PDMAUDIOMIXERCTL; 132 140 141 /** 142 * Audio recording sources. 143 */ 133 144 typedef enum PDMAUDIORECSOURCE 134 145 { … … 502 513 PPDMAUDIOSTREAMCFG pCfg, PPDMAUDIOGSTSTRMOUT *ppGstStrmOut)); 503 514 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 */ 504 522 DECLR3CALLBACKMEMBER(int, pfnPlayOut, (PPDMIAUDIOCONNECTOR pInterface, uint32_t *pcSamplesPlayed)); 505 523 … … 626 644 DECLR3CALLBACKMEMBER(int, pfnFiniOut, (PPDMIHOSTAUDIO pInterface, PPDMAUDIOHSTSTRMOUT pHstStrmOut)); 627 645 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 */ 628 652 DECLR3CALLBACKMEMBER(bool, pfnIsEnabled, (PPDMIHOSTAUDIO pInterface, PDMAUDIODIR enmDir)); 629 653
Note:
See TracChangeset
for help on using the changeset viewer.