VirtualBox

Changeset 88359 in vbox for trunk/include/VBox/vmm


Ignore:
Timestamp:
Apr 4, 2021 11:51:06 PM (4 years ago)
Author:
vboxsync
Message:

Audio: Added notification interface that host drivers can use. Will replace the PDMIHOSTAUDIO::pfnSetCallback fun. bugref:9890

File:
1 edited

Legend:

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

    r88358 r88359  
    14511451#define PDMIHOSTAUDIO_IID                           "be34182b-d579-41e8-96e0-abb94900460f"
    14521452
     1453
     1454/** Pointer to a audio notify from host interface. */
     1455typedef struct PDMIAUDIONOTIFYFROMHOST *PPDMIAUDIONOTIFYFROMHOST;
     1456
     1457/**
     1458 * PDM audio notification interface, for use by host audio.
     1459 *
     1460 * @todo better name?
     1461 */
     1462typedef struct PDMIAUDIONOTIFYFROMHOST
     1463{
     1464    /**
     1465     * One or more audio devices have changed in some way.
     1466     *
     1467     * The upstream driver/device should re-evaluate the devices they're using.
     1468     *
     1469     * @param   pInterface          Pointer to this interface.
     1470     */
     1471    DECLR3CALLBACKMEMBER(void, pfnNotifyDevicesChanged,(PPDMIAUDIONOTIFYFROMHOST pInterface));
     1472} PDMIAUDIONOTIFYFROMHOST;
     1473
     1474/** PDMIAUDIONOTIFYFROMHOST interface ID. */
     1475#define PDMIAUDIONOTIFYFROMHOST_IID                 "ec10f36b-ec2d-4b97-9044-2a59fba837ad"
     1476
    14531477/** @} */
    14541478
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