2014-06-13 13:47:13 -07:00
|
|
|
From 8cb75a25d71c1ea659ce69fa74f725cd9b9a64f0 Mon Sep 17 00:00:00 2001
|
2013-12-06 12:09:21 -08:00
|
|
|
From: Maarten Lankhorst <maarten.lankhorst@canonical.com>
|
2014-06-13 13:47:13 -07:00
|
|
|
Date: Sat, 8 Feb 2014 16:08:53 +0100
|
2013-12-06 12:09:21 -08:00
|
|
|
Subject: [PATCH 08/42] winmm: Load winealsa if winepulse is found
|
|
|
|
|
|
|
|
Fixes midi on winepulse
|
|
|
|
---
|
|
|
|
dlls/winmm/lolvldrv.c | 5 ++++-
|
|
|
|
1 file changed, 4 insertions(+), 1 deletion(-)
|
|
|
|
|
|
|
|
diff --git a/dlls/winmm/lolvldrv.c b/dlls/winmm/lolvldrv.c
|
2014-01-05 16:26:32 -08:00
|
|
|
index c3b3674..56cfe35 100644
|
2013-12-06 12:09:21 -08:00
|
|
|
--- a/dlls/winmm/lolvldrv.c
|
|
|
|
+++ b/dlls/winmm/lolvldrv.c
|
2014-01-05 16:26:32 -08:00
|
|
|
@@ -544,7 +544,10 @@ static void MMDRV_Init(void)
|
2013-12-06 12:09:21 -08:00
|
|
|
drvA = HeapAlloc(GetProcessHeap(), 0, size);
|
|
|
|
WideCharToMultiByte(CP_ACP, 0, pv.u.pwszVal, -1, drvA, size, NULL, NULL);
|
|
|
|
|
|
|
|
- MMDRV_Install(drvA, drvA, FALSE);
|
|
|
|
+ if (!strcasecmp(drvA, "winepulse.drv"))
|
|
|
|
+ MMDRV_Install("winealsa.drv", "winealsa.drv", 0);
|
|
|
|
+ else
|
|
|
|
+ MMDRV_Install(drvA, drvA, FALSE);
|
|
|
|
|
|
|
|
HeapFree(GetProcessHeap(), 0, drvA);
|
|
|
|
PropVariantClear(&pv);
|
|
|
|
--
|
2014-01-05 16:26:32 -08:00
|
|
|
1.8.5.2
|
2013-12-06 12:09:21 -08:00
|
|
|
|