[PATCH v3 0/3] MR359: mmdevapi: copy ContainerID property from audio driver if available

Claire (@ClearlyClaire) wine at gitlab.winehq.org
Mon Jul 4 12:36:34 CDT 2022


Some games with support for the haptic feedback and speaker features of the Sony DualSense controller select the controller's audio output by filtering on the ContainerId IMMDevice property to find one that matches the controller's HID's. This MR allows this information to be accessible from the IMMDevice's property store when the audio driver provides it (none for now, but I intend to add that feature to `winepulse.drv` and maybe `winealsa.drv`)

This is made specific to containerId rather than supporting VT_CLSID on every property because Wine currently stores VT_BLOBs directly in the registry value, which does not allow us to safely disambiguate between VT_CLSID and VT_BLOB values when reading from registry.

--
  v3: mmdevapi: copy ContainerID from audio driver if available
      mmdevapi: decode ContainerId property to CLSID in MMDevice_GetPropValue
 
https://gitlab.winehq.org/wine/wine/-/merge_requests/359



More information about the wine-devel mailing list