[PATCH 1/2] mmdevapi: allow GetPropValue function in audio drivers

Mark Harmstone hellas at burntcomma.com
Tue Nov 18 11:59:23 CST 2014


This is a replacement for a rejected patch I sent a week or two ago,
incorporating suggestions kindly made by Andrew Eikum.

The first patch adds support for a new optional function in the audio
drivers, GetPropValue, which allows them to return arbitrary mmdev
properties. The two currently supported properties are the form
factor and the device path.

The second patch adds this function into winealsa and returns a fake
device path incorporating the device's product and vendor ID.

These patches are required by the Rocksmith games, which use these
properties to identify the guitar cable.

---
 dlls/mmdevapi/devenum.c  | 38 ++++++++++++++++++++++++++++++++++++++
 dlls/mmdevapi/main.c     |  3 +++
 dlls/mmdevapi/mmdevapi.h |  2 ++
 3 files changed, 43 insertions(+)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-PATCH-1-2-mmdevapi-allow-GetPropValue-function-in-au.patch
Type: text/x-patch
Size: 3073 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20141118/733fdae2/attachment.bin>


More information about the wine-patches mailing list