Changeset 88362 in vbox for trunk/include/VBox/vmm
- Timestamp:
- Apr 5, 2021 12:31:17 AM (4 years ago)
- svn:sync-xref-src-repo-rev:
- 143609
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/pdmaudioifs.h
r88359 r88362 993 993 994 994 995 /**996 * Audio backend callback types.997 * Those callbacks are being sent from the backend -> audio connector.998 */999 typedef enum PDMAUDIOBACKENDCBTYPE1000 {1001 /** Invalid, do not use. */1002 PDMAUDIOBACKENDCBTYPE_INVALID = 0,1003 /** The backend's status has changed. */1004 PDMAUDIOBACKENDCBTYPE_STATUS,1005 /** One or more host audio devices have changed. */1006 PDMAUDIOBACKENDCBTYPE_DEVICES_CHANGED,1007 /** Hack to blow the type up to 32-bit. */1008 PDMAUDIOBACKENDCBTYPE_32BIT_HACK = 0x7fffffff1009 } PDMAUDIOBACKENDCBTYPE;1010 1011 /** Pointer to a host audio interface. */1012 typedef struct PDMIHOSTAUDIO *PPDMIHOSTAUDIO;1013 1014 /**1015 * Host audio callback function.1016 *1017 * This function will be called from a backend to communicate with the host audio interface.1018 *1019 * @returns VBox status code.1020 * @param pDrvIns Pointer to driver instance which called us.1021 * @param enmType Callback type.1022 * @param pvUser User argument.1023 * @param cbUser Size (in bytes) of user argument.1024 */1025 typedef DECLCALLBACKTYPE(int, FNPDMHOSTAUDIOCALLBACK,(PPDMDRVINS pDrvIns, PDMAUDIOBACKENDCBTYPE enmType,1026 void *pvUser, size_t cbUser));1027 /** Pointer to a FNPDMHOSTAUDIOCALLBACK(). */1028 typedef FNPDMHOSTAUDIOCALLBACK *PFNPDMHOSTAUDIOCALLBACK;1029 1030 995 1031 996 /** @todo r=bird: What is this exactly? */ 1032 997 #define PPDMAUDIOBACKENDSTREAM void * 998 1033 999 1034 1000 /** Pointer to a audio connector interface. */ … … 1238 1204 1239 1205 1206 /** Pointer to a host audio interface. */ 1207 typedef struct PDMIHOSTAUDIO *PPDMIHOSTAUDIO; 1208 1240 1209 /** 1241 1210 * PDM host audio interface. … … 1287 1256 */ 1288 1257 DECLR3CALLBACKMEMBER(PDMAUDIOBACKENDSTS, pfnGetStatus, (PPDMIHOSTAUDIO pInterface, PDMAUDIODIR enmDir)); 1289 1290 /**1291 * Sets a callback the audio backend can call. Optional.1292 *1293 * @returns VBox status code.1294 * @param pInterface Pointer to the interface structure containing the called function pointer.1295 * @param pfnCallback The callback function to use, or NULL when unregistering.1296 */1297 DECLR3CALLBACKMEMBER(int, pfnSetCallback, (PPDMIHOSTAUDIO pInterface, PFNPDMHOSTAUDIOCALLBACK pfnCallback));1298 1258 1299 1259 /** … … 1449 1409 1450 1410 /** PDMIHOSTAUDIO interface ID. */ 1451 #define PDMIHOSTAUDIO_IID " be34182b-d579-41e8-96e0-abb94900460f"1411 #define PDMIHOSTAUDIO_IID "fafc2dfb-eaa8-4e8f-9d13-ffe9163e7c51" 1452 1412 1453 1413
Note:
See TracChangeset
for help on using the changeset viewer.