[PATCH 1/5] mmdevapi: use struct for endpoint info in GetEndpointIDs

Mark Harmstone hellas at burntcomma.com
Fri Nov 7 08:57:45 CST 2014


At present, the only information returned by GetEndpointIDs in the audio drivers
is the GUID of each device, and its "id" (actually its name). This patch creates
a new DeviceProps struct, and uses that to communicate the device information
instead. The following patches allow drivers to additionally specify the form
factor and vendor and product IDs of the device, which are used to create a fake
device path.

These patches are needed for the guitar cable detection in the Rocksmith games.

---
 dlls/mmdevapi/devenum.c           | 21 +++++++++--------
 dlls/mmdevapi/mmdevapi.h          |  6 ++++-
 dlls/winealsa.drv/mmdevdrv.c      | 48 +++++++++++++++++++++------------------
 dlls/winecoreaudio.drv/mmdevdrv.c | 32 ++++++++++++++------------
 dlls/wineoss.drv/mmdevdrv.c       | 22 ++++++++++--------
 5 files changed, 73 insertions(+), 56 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-mmdevapi-use-struct-for-endpoint-info-in-GetEndpoint.patch
Type: text/x-patch
Size: 17745 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20141107/aa854d6e/attachment-0001.bin>


More information about the wine-patches mailing list