You've already forked wine-staging
mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2025-04-13 14:42:51 -07:00
Rebase against 7b38d4f9efd899a68d754b83b1b396929549a973.
This commit is contained in:
@@ -1,36 +0,0 @@
|
||||
From e88178f705163d00848d550641734f0e06855509 Mon Sep 17 00:00:00 2001
|
||||
From: Christian Costa <titan.costa@gmail.com>
|
||||
Date: Sun, 8 Feb 2015 11:32:55 +0100
|
||||
Subject: mmdevapi: Improve AEV_GetVolumeRange stub.
|
||||
|
||||
---
|
||||
dlls/mmdevapi/audiovolume.c | 11 ++++++++---
|
||||
1 file changed, 8 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/dlls/mmdevapi/audiovolume.c b/dlls/mmdevapi/audiovolume.c
|
||||
index 4cc3226..f174f58 100644
|
||||
--- a/dlls/mmdevapi/audiovolume.c
|
||||
+++ b/dlls/mmdevapi/audiovolume.c
|
||||
@@ -248,11 +248,16 @@ static HRESULT WINAPI AEV_QueryHardwareSupport(IAudioEndpointVolumeEx *iface, DW
|
||||
|
||||
static HRESULT WINAPI AEV_GetVolumeRange(IAudioEndpointVolumeEx *iface, float *mindb, float *maxdb, float *inc)
|
||||
{
|
||||
- TRACE("(%p)->(%p,%p,%p)\n", iface, mindb, maxdb, inc);
|
||||
+ FIXME("(%p)->(%p,%p,%p): stub\n", iface, mindb, maxdb, inc);
|
||||
+
|
||||
if (!mindb || !maxdb || !inc)
|
||||
return E_POINTER;
|
||||
- FIXME("stub\n");
|
||||
- return E_NOTIMPL;
|
||||
+
|
||||
+ *mindb = 0.0f;
|
||||
+ *maxdb = 1.0f;
|
||||
+ *inc = 0.1f;
|
||||
+
|
||||
+ return S_OK;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI AEV_GetVolumeRangeChannel(IAudioEndpointVolumeEx *iface, UINT chan, float *mindb, float *maxdb, float *inc)
|
||||
--
|
||||
2.2.2
|
||||
|
@@ -1,4 +1,4 @@
|
||||
From 542ba5fc717facafe9de075cec17fa115472bc1b Mon Sep 17 00:00:00 2001
|
||||
From 7d87ebc6e74f4e95bb1e136d1592c508e1c30416 Mon Sep 17 00:00:00 2001
|
||||
From: Christian Costa <titan.costa@gmail.com>
|
||||
Date: Sun, 8 Feb 2015 11:38:17 +0100
|
||||
Subject: mmdevapi: Improve AEV_SetMasterVolumeLevel and
|
||||
@@ -9,7 +9,7 @@ Subject: mmdevapi: Improve AEV_SetMasterVolumeLevel and
|
||||
1 file changed, 17 insertions(+), 6 deletions(-)
|
||||
|
||||
diff --git a/dlls/mmdevapi/audiovolume.c b/dlls/mmdevapi/audiovolume.c
|
||||
index e6f94a1..4f915ed 100644
|
||||
index a49d2e93db2..81224350c76 100644
|
||||
--- a/dlls/mmdevapi/audiovolume.c
|
||||
+++ b/dlls/mmdevapi/audiovolume.c
|
||||
@@ -43,6 +43,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(mmdevapi);
|
||||
@@ -57,14 +57,14 @@ index e6f94a1..4f915ed 100644
|
||||
}
|
||||
|
||||
static HRESULT WINAPI AEV_GetMasterVolumeLevelScalar(IAudioEndpointVolumeEx *iface, float *level)
|
||||
@@ -288,6 +298,7 @@ HRESULT AudioEndpointVolume_Create(MMDevice *parent, IAudioEndpointVolume **ppv)
|
||||
@@ -288,6 +298,7 @@ HRESULT AudioEndpointVolume_Create(MMDevice *parent, IAudioEndpointVolumeEx **pp
|
||||
return E_OUTOFMEMORY;
|
||||
This->IAudioEndpointVolumeEx_iface.lpVtbl = &AEVImpl_Vtbl;
|
||||
This->ref = 1;
|
||||
+ This->level = 1.0f;
|
||||
|
||||
*ppv = (IAudioEndpointVolume*)&This->IAudioEndpointVolumeEx_iface;
|
||||
*ppv = &This->IAudioEndpointVolumeEx_iface;
|
||||
return S_OK;
|
||||
--
|
||||
2.4.2
|
||||
2.11.0
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
From 320a7201538fd7a1774b6a67713a2fa446791238 Mon Sep 17 00:00:00 2001
|
||||
From 40b42abcaa94876785b80b22898bfb5e743891ea Mon Sep 17 00:00:00 2001
|
||||
From: Christian Costa <titan.costa@gmail.com>
|
||||
Date: Tue, 10 Feb 2015 20:12:12 +0100
|
||||
Subject: mmdevapi: Improve AEV_SetMute and AEV_GetMute stubs.
|
||||
@@ -8,7 +8,7 @@ Subject: mmdevapi: Improve AEV_SetMute and AEV_GetMute stubs.
|
||||
1 file changed, 17 insertions(+), 6 deletions(-)
|
||||
|
||||
diff --git a/dlls/mmdevapi/audiovolume.c b/dlls/mmdevapi/audiovolume.c
|
||||
index 4f915ed..f8655db 100644
|
||||
index 81224350c76..38be3ce70ec 100644
|
||||
--- a/dlls/mmdevapi/audiovolume.c
|
||||
+++ b/dlls/mmdevapi/audiovolume.c
|
||||
@@ -44,6 +44,7 @@ typedef struct AEVImpl {
|
||||
@@ -53,14 +53,14 @@ index 4f915ed..f8655db 100644
|
||||
}
|
||||
|
||||
static HRESULT WINAPI AEV_GetVolumeStepInfo(IAudioEndpointVolumeEx *iface, UINT *stepsize, UINT *stepcount)
|
||||
@@ -299,6 +309,7 @@ HRESULT AudioEndpointVolume_Create(MMDevice *parent, IAudioEndpointVolume **ppv)
|
||||
@@ -299,6 +309,7 @@ HRESULT AudioEndpointVolume_Create(MMDevice *parent, IAudioEndpointVolumeEx **pp
|
||||
This->IAudioEndpointVolumeEx_iface.lpVtbl = &AEVImpl_Vtbl;
|
||||
This->ref = 1;
|
||||
This->level = 1.0f;
|
||||
+ This->mute = FALSE;
|
||||
|
||||
*ppv = (IAudioEndpointVolume*)&This->IAudioEndpointVolumeEx_iface;
|
||||
*ppv = &This->IAudioEndpointVolumeEx_iface;
|
||||
return S_OK;
|
||||
--
|
||||
2.4.2
|
||||
2.11.0
|
||||
|
||||
|
Reference in New Issue
Block a user