winealsa: Add card number to duplicate device descriptions.
commita9c8196e97ec255f4f69d005ea1cbf8fcf2537e8
authorDoug Kingston <dpk@google.com>
Mon, 15 Feb 2021 16:26:13 +0000 (15 10:26 -0600)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 15 Feb 2021 20:11:28 +0000 (15 21:11 +0100)
tree4a07affc5c5e7e75de0a1026a43d563053ea4c01
parent611742d31fb042d642d5ac30eebf0d73154a3481
winealsa: Add card number to duplicate device descriptions.

Devices with the same device description cannot be distinguished.
Add card number to the description of second and subsequent instances
of devices with the same description.  This mimics Windows behavior.

Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Doug Kingston <dpk@google.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/winealsa.drv/mmdevdrv.c