Rebase against cce4f36e214125173a8df84d27ba5b33df8d1434.

This commit is contained in:
Alistair Leslie-Hughes 2020-10-03 15:35:36 +10:00
parent 7145412e08
commit f82518af72
3 changed files with 6 additions and 6 deletions

View File

@ -51,7 +51,7 @@ usage()
# Get the upstream commit sha
upstream_commit()
{
echo "fa9f4a20f5305b7cbcfe3a644d39d4b759f89203"
echo "cce4f36e214125173a8df84d27ba5b33df8d1434"
}
# Show version information

View File

@ -1,4 +1,4 @@
From 5e002013b359e3278e9c1ef30514e4be274ea032 Mon Sep 17 00:00:00 2001
From 4e795dd8fda937cc61bf393880eafd28e8dea98f Mon Sep 17 00:00:00 2001
From: Mark Harmstone <mark@harmstone.com>
Date: Mon, 3 Nov 2014 02:06:40 +0000
Subject: [PATCH] winepulse: expose audio devices directly to programs
@ -20,7 +20,7 @@ Changes by Sebastian Lackner <sebastian@fds-team.de>:
1 file changed, 224 insertions(+), 28 deletions(-)
diff --git a/dlls/winepulse.drv/mmdevdrv.c b/dlls/winepulse.drv/mmdevdrv.c
index 7fc7dccb367..59cfa3db4f2 100644
index 6d4ffecaca8..4d91aa60151 100644
--- a/dlls/winepulse.drv/mmdevdrv.c
+++ b/dlls/winepulse.drv/mmdevdrv.c
@@ -79,12 +79,25 @@ static pthread_mutex_t pulse_lock;
@ -77,7 +77,7 @@ index 7fc7dccb367..59cfa3db4f2 100644
-static const WCHAR defaultW[] = {'P','u','l','s','e','a','u','d','i','o',0};
-
static const IAudioClientVtbl AudioClient_Vtbl;
static const IAudioClient3Vtbl AudioClient3_Vtbl;
static const IAudioRenderClientVtbl AudioRenderClient_Vtbl;
static const IAudioCaptureClientVtbl AudioCaptureClient_Vtbl;
@@ -605,12 +624,92 @@ fail:
@ -403,7 +403,7 @@ index 7fc7dccb367..59cfa3db4f2 100644
This->vol[i] = 1.f;
+ strcpy(This->device, pulse_name);
hr = CoCreateFreeThreadedMarshaler((IUnknown*)&This->IAudioClient_iface, &This->marshal);
hr = CoCreateFreeThreadedMarshaler((IUnknown*)&This->IAudioClient3_iface, &This->marshal);
if (hr) {
--
2.28.0

View File

@ -1 +1 @@
fa9f4a20f5305b7cbcfe3a644d39d4b759f89203
cce4f36e214125173a8df84d27ba5b33df8d1434