diff options
| author | Girish Pattabiraman <[email protected]> | 2018-11-12 18:08:19 -0800 |
|---|---|---|
| committer | Adonais Romero González <[email protected]> | 2018-11-12 18:08:19 -0800 |
| commit | 995e20f6dbca7ad10a039fa62a2de69eed092ffc (patch) | |
| tree | 67075f06fd8aaedad732d6c73b682c6e0fda9dba /audio/sysvad/common.h | |
| parent | c9110a3bc1634a5be8e7922119ad383311104095 (diff) | |
RS5 Updates (#311)
* Format Changes
==============
* Add KSEVENT_PINCAPS_FORMATCHANGE to Bluetooth HFP Endpoints
* Remove 8 bit formats from Bluetooth HFP Endpoints
Name Template
==============
* Bluetooth Endpoints are now based on templates in INF and then customized with endpoints specific data
Sideband Common Interface for future Sideband buses
===================================================
* Add ISidebandDevice
* Add current directory to TabletAudioSample include path. Remove unused compiler flags.
* RS4 bug fixes
* Replace FastMutex with Spinlock for DeviceFormatsAndModes to work well at DISPATCH_LEVEL
* Resync with Microsoft-master branch
* Replace FastMutex with Spinlock for DeviceFormatsAndModes to work well at DISPATCH_LEVEL
* RS5 updates:
- USB Sideband implementation
- Power management options: _USE_IPortClsRuntimePower, _USE_SingleComponentMultiFxStates
Diffstat (limited to 'audio/sysvad/common.h')
| -rw-r--r-- | audio/sysvad/common.h | 34 |
1 files changed, 33 insertions, 1 deletions
diff --git a/audio/sysvad/common.h b/audio/sysvad/common.h index f138c1fb..98a3f9cd 100644 --- a/audio/sysvad/common.h +++ b/audio/sysvad/common.h @@ -120,6 +120,21 @@ Abstract: #define MINWAVERT_POOLTAG 'RWNM' #define MINTOPORT_POOLTAG 'RTNM' #define MINADAPTER_POOLTAG 'uAyS' +#define USBSIDEBANDTEST_POOLTAG01 '1AyS' +#define USBSIDEBANDTEST_POOLTAG02 '2AyS' +#define USBSIDEBANDTEST_POOLTAG03 '3AyS' +#define USBSIDEBANDTEST_POOLTAG04 '4AyS' +#define USBSIDEBANDTEST_POOLTAG05 '5AyS' +#define USBSIDEBANDTEST_POOLTAG06 '6AyS' +#define USBSIDEBANDTEST_POOLTAG07 '7AyS' +#define USBSIDEBANDTEST_POOLTAG08 '8AyS' +#define USBSIDEBANDTEST_POOLTAG09 '9AyS' +#define USBSIDEBANDTEST_POOLTAG010 'aAyS' +#define USBSIDEBANDTEST_POOLTAG011 'bAyS' +#define USBSIDEBANDTEST_POOLTAG012 'cAyS' +#define USBSIDEBANDTEST_POOLTAG013 'dAyS' +#define USBSIDEBANDTEST_POOLTAG014 'eAyS' +#define USBSIDEBANDTEST_POOLTAG015 'fAyS' typedef enum { @@ -637,8 +652,25 @@ DECLARE_INTERFACE_(IAdapterCommon, IUnknown) #endif // SYSVAD_BTH_BYPASS +#ifdef SYSVAD_USB_SIDEBAND + STDMETHOD_(NTSTATUS, InitUsbSideband)(); + + STDMETHOD_(NTSTATUS, AddDeviceAsPowerDependency) + ( + _In_ PDEVICE_OBJECT pdo + ); + + STDMETHOD_(NTSTATUS, RemoveDeviceAsPowerDependency) + ( + _In_ PDEVICE_OBJECT pdo + ); + +#endif // SYSVAD_USB_SIDEBAND + STDMETHOD_(VOID, Cleanup)(); + STDMETHOD_(NTSTATUS, UpdatePowerRelations)(_In_ PIRP Irp); + STDMETHOD_(NTSTATUS, NotifyEndpointPair) ( THIS_ @@ -670,7 +702,7 @@ NewAdapterCommon ); -#if defined(SYSVAD_BTH_BYPASS) +#if defined(SYSVAD_BTH_BYPASS) || defined(SYSVAD_USB_SIDEBAND) // Event callback definition. typedef VOID (*PFNEVENTNOTIFICATION)( |
